From 8300d5f428e2d3393076725b91e7ff716ccc9d8c Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 13 Jul 2017 17:20:42 +0200 Subject: [PATCH] Add fastcgi wrapper directives --- .../templates/etc/httpd/conf/httpd.conf/68FastCGIConfig15Dl | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/68FastCGIConfig15Dl diff --git a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/68FastCGIConfig15Dl b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/68FastCGIConfig15Dl new file mode 100644 index 0000000..0accf67 --- /dev/null +++ b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/68FastCGIConfig15Dl @@ -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 +} +}