- mod_http2 - Add "Protocol" statement to VHosts
@@ -0,0 +1 @@
+LoadModule http2_module /usr/libexec/httpd/mod_http2.so
@@ -4,6 +4,10 @@
ServerAdmin webmaster@localhost
DocumentRoot "/srv/www/apache"
+ <IfModule http2_module>
+ Protocols h2c http/1.1
+ </IfModule>
+
#LogLevel info ssl:warn
ErrorLog ${APACHE_LOG_DIR}/000-default.error.log
CustomLog ${APACHE_LOG_DIR}/000-default.access.log combined
@@ -14,6 +14,10 @@
ErrorLog ${APACHE_LOG_DIR}/001-default-ssl.error.log
CustomLog ${APACHE_LOG_DIR}/001-default-ssl.access.log combined
+ Protocols h2 http/1.1
# SSL Engine Switch:
# Enable/Disable SSL for this virtual host.
SSLEngine on
@@ -13,6 +13,10 @@
ErrorLog ${APACHE_LOG_DIR}/002-default-ssl.error.log
CustomLog ${APACHE_LOG_DIR}/002-default-ssl.access.log combined
SSLCertificateFile "/etc/apache/server.crt"
SSLCertificateKeyFile "/etc/apache/server.key"