Remove duplicated fastcgi.server config

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
RD WebDesign 2023-01-03 17:07:34 -03:00
parent d882652a85
commit c85e4227cf
No known key found for this signature in database
GPG key ID: AE3C7FC910687F33

View file

@ -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",
) )
) )
) )