mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-05-01 11:32:28 +00:00
fix(backend): Replace deprecated http2 directive
This commit is contained in:
parent
fe2d8895d6
commit
a664e3f7b5
@ -5,9 +5,15 @@
|
|||||||
#listen [::]:80;
|
#listen [::]:80;
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if certificate -%}
|
{% if certificate -%}
|
||||||
listen 443 ssl{% if http2_support == 1 or http2_support == true %} http2{% endif %};
|
listen 443 ssl;
|
||||||
{% if ipv6 -%}
|
{% if http2_support == 1 or http2_support == true %}
|
||||||
listen [::]:443 ssl{% if http2_support == 1 or http2_support == true %} http2{% endif %};
|
http2;
|
||||||
|
{% endif %}
|
||||||
|
{% if ipv6 -%}/
|
||||||
|
listen [::]:443 ssl;
|
||||||
|
{% if http2_support == 1 or http2_support == true %}
|
||||||
|
http2;
|
||||||
|
{% endif %}
|
||||||
{% else -%}
|
{% else -%}
|
||||||
#listen [::]:443;
|
#listen [::]:443;
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user