Files
php-official-website/docker/nginx/conf.c/enable-php.conf
2025-12-17 10:18:58 +08:00

8 lines
157 B
Plaintext

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