Files
shop-platform/docker/nginx/conf.c/enable-php-74.conf
2025-10-28 18:23:50 +08:00

11 lines
300 B
Plaintext

location ~ [^/]\.php(/|$)
{
try_files $uri =404;
# fastcgi_pass unix:/tmp/php-cgi-74.sock;
fastcgi_pass php-fpm:9000;
fastcgi_index index.php;
include conf.c/fastcgi.conf;
include conf.c/pathinfo.conf;
include conf.c/debug.conf;
}