From e6639b04ce2b2de59f3147602b6129307c946530 Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Sat, 23 Oct 2021 13:42:26 -0700 Subject: [PATCH] enable proxy_http for certbot --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 46141b6..037e708 100755 --- a/install.sh +++ b/install.sh @@ -67,7 +67,7 @@ chown root:root /etc/apache2/mods-available/*.conf vhostdomain=`hostname -d` sed -i "s|.example.com|.$vhostdomain|g" /etc/apache2/mods-available/macro.conf # a2enmod proxy_fcgi rewrite headers expires ssl http2 remoteip macro -a2enmod proxy_fcgi rewrite headers expires ssl http2 macro +a2enmod proxy_fcgi proxy_http rewrite headers expires ssl http2 macro # # sed -i "s|CustomLog|#CustomLog|g" /etc/apache2/sites-available/000-default.conf sed -i "s|/var/www/html|/srv/www/html|g" /etc/apache2/sites-available/000-default.conf # # sed -i "s|CustomLog|#CustomLog|g" /etc/apache2/sites-available/default-ssl.conf