From a00d7eebfdf57ee9f65d1ffaeefc79ba8ad97069 Mon Sep 17 00:00:00 2001 From: HugoPoi Date: Fri, 25 Nov 2022 17:22:15 +0100 Subject: [PATCH] fix: local run failed to run php for all urls --- nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index f58f607..e996a58 100644 --- a/nginx.conf +++ b/nginx.conf @@ -4,7 +4,7 @@ server { # error_log /var/log/nginx/error.log; # access_log /var/log/nginx/access.log; root /var/www/html; - try_files $uri $uri/ /index.php /index.html; + try_files $uri $uri/ /index.php; location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_pass php-fpm:9000;