fix error jenkins

This commit is contained in:
jwklijnsma 2024-02-27 11:32:57 +01:00 committed by GitHub
parent eac0517e63
commit 07e973faf7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,11 +10,15 @@
{% endif %}
{% endif %}
{% if certificate -%}
listen 443 ssl{% if http2_support == 1 or http2_support == true %} http2{% endif %};
{% if enable_proxy_protocol == 1 or enable_proxy_protocol == true%}
listen 444 ssl{% if http2_support %} http2{% endif %} proxy_protocol;
{% if ipv6 -%}
listen [::]:443 ssl{% if http2_support == 1 or http2_support == true %} http2{% endif %};
listen [::]:444 ssl{% if http2_support %} http2{% endif %} proxy_protocol;
{% endif %}
{% else -%}
#listen [::]:443;
listen 443 ssl{% if http2_support %} http2{% endif %};
{% if ipv6 -%}
listen [::]:443 ssl{% if http2_support %} http2{% endif %};
{% endif %}
{% endif %}
{% endif %}