PDA

View Full Version : Nginx External Urls 403 Forbidden Problem


blue7
01-19-2016, 01:45 PM
Hello,

As i metioned at the title i have problem with external urls while redirecting, its redirecting to nginx 403 Forbidden page.

I am using nginx php-fpm on my server. Only have problem with external urls. How i could solve it ?

Thanks in advance.

Dave
01-19-2016, 02:03 PM
We'll need some more information.


Are you using a redirector service?
What does your nginx config file look like?
What does the URL look like when you get the 403 forbidden error?

blue7
01-19-2016, 02:06 PM
Hi Dave,

Thanks for quick response i just solved the problem. I had these lines on my config file, when i deleted them problem is solved :

if ($rule_10 = "21"){
return 403;
break;
}

Thank you anyway.