I was running a vBulletin site under a standard LAMP stack.
I spun up a new Linode to try LEMP instead, to see if it offered better performance.
I'm running into trouble trying to get the recommended "security enhancement" installed.
here's my php location block:
Code:
location ~ \.php$ {
try_files $uri =404;
include /etc/nginx/fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /home/mouseowners-test/public_html$fastcgi_script_name;
}
If I leave this as-is, every single PHP page I try and load (so, any of the vBulletin stuff) returns a 404. If I comment out the try_files line, everything seems to be working.
Any clues?