Files
mdserver-web/plugins/php/conf/enable-php.conf
T
2022-07-03 00:47:45 +08:00

9 lines
234 B
Plaintext

set $PHP_ENV 1;
location ~ [^/]\.php(/|$)
{
try_files $uri =404;
fastcgi_pass unix:/tmp/php-cgi-{$PHP_VERSION}.sock;
fastcgi_index index.php;
include fastcgi.conf;
include {$SERVER_PATH}/web_conf/php/pathinfo.conf;
}