[phpBB3] Nginx upgrade causes redirect loop
[phpBB3] Nginx upgrade causes redirect loop
Do you have any ideas as to what in Magic SEO URLs could be causing the homepage to endlessly redirect to itself? The Apache mod_rewrite rules haven't changed. Unfortunately, I cannot show this in action, because then my forum homepage would be inaccessible. I've downgraded Nginx back to the previous stable release, but would like to be able to upgrade.
Any help would be appreciated. Perhaps you can point me in a direction so that I can continue investigating. Currently, I'm stuck.
Re: [phpBB3] Nginx upgrade causes redirect loop
Link to phpinfo.php page would help in pointing what exactly is going wrong there.
Re: [phpBB3] Nginx upgrade causes redirect loop
Code: Select all
if ($request_filename ~ \/$) {
return 404;
}
This returns a 404 for every hit to http://www.example.com/ only (i.e. the homepage), and for every 404 I have a fallback function like this, redirecting to Apache:
Code: Select all
error_page 404 = @fallback;
location @fallback {
proxy_pass http://127.0.0.1:8080;
}
It works, so I'm happy. Thanks for your time.