enable http2, because it's that easy

This commit is contained in:
Paul Williams
2018-10-19 11:51:33 -06:00
parent 4a5c0a6d21
commit 78bd5aea1c

View File

@@ -48,8 +48,8 @@ http {
# Only enable HTTPS if TLS is enabled with no error # Only enable HTTPS if TLS is enabled with no error
{% if TLS and not TLS_ERROR %} {% if TLS and not TLS_ERROR %}
listen 443 ssl; listen 443 ssl http2;
listen [::]:443 ssl; listen [::]:443 ssl http2;
include /etc/nginx/tls.conf; include /etc/nginx/tls.conf;
ssl_session_cache shared:SSLHTTP:50m; ssl_session_cache shared:SSLHTTP:50m;