enable proxy_http for certbot

This commit is contained in:
Matthew Saunders Brown 2021-10-23 13:42:26 -07:00
parent da12c7e1ea
commit e6639b04ce

View File

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