Skip to content
Snippets Groups Projects
Verified Commit 8b17d087 authored by David Beniamine's avatar David Beniamine
Browse files

Enable http2 on lamp services

parent cad4d304
No related branches found
No related tags found
No related merge requests found
......@@ -48,3 +48,9 @@ then
systemctl restart nginx
fi
fi
if [ -z "$(\ls /etc/apache2/mods-enabled/http2.conf 2>/dev/nul)" ]; then
echo "Http2 is not enabled, activating, please test using https://tools.keycdn.com/http2-test"
a2enmod http2
apache2ctl configtest && apache2ctl graceful
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment