smeserver-dl/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/68FastCGIConfig15Dl
Daniel Berteaud f9da9e670f Remove hardcoded php version from the code
Replace it at build time so it's easy to change
2017-07-18 11:23:26 +02:00

10 lines
334 B
Plaintext

{
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/php__PHP_VERSION__-dl.sock -pass-header Authorization -idle-timeout 120
_EOF
}
}