Commit 464292d1 by 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 {
include fastcgi.conf;
fastcgi_pass 127.0.0.1:9000;
#fastcgi_pass unix:/var/run/php5-fpm.sock;
try_files $uri =404;
}
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