From 525741e7680b73f9f54a80d187d28650b0879328 Mon Sep 17 00:00:00 2001 From: filesite Date: Wed, 9 Mar 2022 13:56:02 +0800 Subject: [PATCH] Nginx config update --- Nginx.conf.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;