diff --git a/Nginx.conf.md b/Nginx.conf.md index cc681ac..01740e2 100644 --- a/Nginx.conf.md +++ b/Nginx.conf.md @@ -17,7 +17,7 @@ Nginx config: } # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 - location ~ /(index)\.php$ { + location ~ ^/index\.php$ { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /var/www/fscphp/www$fastcgi_script_name;