Commit 464292d1 authored by Alexander Makarov's avatar Alexander Makarov

Fixes #4659: adjusted nginx config in docs to serve 404 instead of "no input...

Fixes #4659: adjusted nginx config in docs to serve 404 instead of "no input file specified" when accessing non-existing PHP file
parent d41eb358
...@@ -179,6 +179,7 @@ server { ...@@ -179,6 +179,7 @@ server {
include fastcgi.conf; include fastcgi.conf;
fastcgi_pass 127.0.0.1:9000; fastcgi_pass 127.0.0.1:9000;
#fastcgi_pass unix:/var/run/php5-fpm.sock; #fastcgi_pass unix:/var/run/php5-fpm.sock;
try_files $uri =404;
} }
location ~ /\.(ht|svn|git) { location ~ /\.(ht|svn|git) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment