mdserver-web/plugins/php-apt/conf/enable-php.conf

9 lines
237 B
Plaintext
Raw Permalink Normal View History

2022-07-07 11:37:57 -04:00
set $PHP_ENV 1;
location ~ [^/]\.php(/|$)
{
try_files $uri =404;
2022-07-07 13:13:39 -04:00
fastcgi_pass unix:/run/php/php{$PHP_VERSION}-fpm.sock;
2022-07-07 11:37:57 -04:00
fastcgi_index index.php;
include fastcgi.conf;
include {$SERVER_PATH}/web_conf/php/pathinfo.conf;
}