Files
php-official-website/docker/nginx/conf.c/enable-php-74.conf
2025-12-17 10:18:58 +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;
}