mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 07:19:26 +08:00
10 lines
283 B
Plaintext
10 lines
283 B
Plaintext
set $PHP_ENV 1;
|
|
location ~ [^/]\.php(/|$)
|
|
{
|
|
try_files $uri =404;
|
|
#fastcgi_pass unix:/tmp/php-cgi-{$PHP_VERSION}.sock;
|
|
fastcgi_pass MW-UPSTREAM-PHP{$PHP_VERSION};
|
|
fastcgi_index index.php;
|
|
include fastcgi.conf;
|
|
include {$SERVER_PATH}/web_conf/php/pathinfo.conf;
|
|
} |