Added HTTP/2 Support for SSL enabled hosts

This commit is contained in:
Jamie Curnow
2018-11-12 21:45:23 +10:00
parent 9fd480cf77
commit 046cb0b76e
17 changed files with 159 additions and 28 deletions

View File

@@ -1,5 +1,5 @@
listen 80;
{% if certificate -%}
listen 443 ssl;
listen 443 ssl{% if http2 %} http2{% endif %};
{% endif %}
server_name {{ domain_names | join: " " }};
server_name {{ domain_names | join: " " }};