fix: local run failed to run php for all urls

This commit is contained in:
Hugo Poissonnet 2022-11-25 17:22:15 +01:00
parent cd94d82c1a
commit a00d7eebfd
1 changed files with 1 additions and 1 deletions

View File

@ -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;