Merge a664e3f7b50ae280c5995197120c07b338ce4428 into d499e2bfef7c79981ad46fa5946e743d7380eb65

This commit is contained in:
Lukas Jost 2024-10-17 10:51:20 +10:00 committed by GitHub
commit e4963bf277
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,9 +5,15 @@
#listen [::]:80;
{% endif %}
{% if certificate -%}
listen 443 ssl{% if http2_support == 1 or http2_support == true %} http2{% endif %};
{% if ipv6 -%}
listen [::]:443 ssl{% if http2_support == 1 or http2_support == true %} http2{% endif %};
listen 443 ssl;
{% if http2_support == 1 or http2_support == true %}
http2;
{% endif %}
{% if ipv6 -%}/
listen [::]:443 ssl;
{% if http2_support == 1 or http2_support == true %}
http2;
{% endif %}
{% else -%}
#listen [::]:443;
{% endif %}