Submitted by WillSargent on Fri, 05/23/2014 - 21:22
The server configuration file that is created for new Nginx websites should also contain the following directive:
location / { try_files $uri $uri/ /index.php?$args; }
This directive prevents many 502 bad gateway issues.
Status:
Active
Comments
Submitted by WillSargent on Fri, 05/23/2014 - 21:55 Comment #1
Actually, the directive should be:
try_files $uri $uri/ /index.php?$args;
Location is not necessary
Submitted by JamieCameron on Sat, 05/24/2014 - 00:59 Comment #2
Why is that directive needed though?
Submitted by WillSargent on Sat, 05/24/2014 - 19:26 Comment #3
Actually, there is a bigger issue at work, and this directive is only a band aid.
I'll detail more including a more comprehensive solution for the problem, after the weekend!