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

10 lines
283 B
Plaintext
Raw Permalink Normal View History

2022-07-02 12:47:45 -04:00
set $PHP_ENV 1;
2018-12-18 06:37:46 -05:00
location ~ [^/]\.php(/|$)
{
try_files $uri =404;
2024-01-19 08:21:36 -05:00
#fastcgi_pass unix:/tmp/php-cgi-{$PHP_VERSION}.sock;
2024-01-19 09:06:35 -05:00
fastcgi_pass MW-UPSTREAM-PHP{$PHP_VERSION};
2018-12-18 06:37:46 -05:00
fastcgi_index index.php;
include fastcgi.conf;
2022-06-28 12:39:10 -04:00
include {$SERVER_PATH}/web_conf/php/pathinfo.conf;
2018-12-18 06:37:46 -05:00
}