Add fastcgi wrapper directives
This commit is contained in:
parent
e2c18a4b78
commit
8300d5f428
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
if ($fastcgi_mod eq 'mod_fastcgi'){
|
||||
$OUT .=<<_EOF;
|
||||
Action phpdl-fastcgi /php-cgi-bin/phpdl-wrapper
|
||||
Alias /php-cgi-bin/phpdl-wrapper /var/www/php-cgi-bin/phpdl-wrapper
|
||||
FastCgiExternalServer /var/www/php-cgi-bin/phpdl-wrapper -socket /var/run/php-fpm/php71-dl.sock -pass-header Authorization -idle-timeout 120
|
||||
_EOF
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue