|
|
@ -15,6 +15,7 @@
|
|
|
|
$HTTP["url"] =~ "^/admin/" {
|
|
|
|
$HTTP["url"] =~ "^/admin/" {
|
|
|
|
server.document-root = "/var/www/html"
|
|
|
|
server.document-root = "/var/www/html"
|
|
|
|
server.stream-response-body = 1
|
|
|
|
server.stream-response-body = 1
|
|
|
|
|
|
|
|
|
|
|
|
fastcgi.server = (
|
|
|
|
fastcgi.server = (
|
|
|
|
".php" => (
|
|
|
|
".php" => (
|
|
|
|
"localhost" => (
|
|
|
|
"localhost" => (
|
|
|
@ -22,6 +23,14 @@ $HTTP["url"] =~ "^/admin/" {
|
|
|
|
"bin-path" => "/usr/bin/php-cgi",
|
|
|
|
"bin-path" => "/usr/bin/php-cgi",
|
|
|
|
"min-procs" => 0,
|
|
|
|
"min-procs" => 0,
|
|
|
|
"max-procs" => 1,
|
|
|
|
"max-procs" => 1,
|
|
|
|
|
|
|
|
"bin-environment" => (
|
|
|
|
|
|
|
|
"PHP_FCGI_CHILDREN" => "4",
|
|
|
|
|
|
|
|
"PHP_FCGI_MAX_REQUESTS" => "10000",
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
"bin-copy-environment" => (
|
|
|
|
|
|
|
|
"PATH", "SHELL", "USER"
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
"broken-scriptfilename" => "enable",
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|