Add fastcgi wrapper directives

This commit is contained in:
Daniel Berteaud 2017-07-13 17:20:42 +02:00
parent e2c18a4b78
commit 8300d5f428
1 changed files with 9 additions and 0 deletions

View File

@ -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
}
}