From 6b9c247ec85c333146f48db5b1d4f9facfabea5e Mon Sep 17 00:00:00 2001 From: Joel Baldauf Date: Sat, 25 Jun 2022 12:14:56 +0200 Subject: [PATCH] Update _listen.conf allow Listening of proxy protocol and HTTP at same time --- backend/templates/_listen.conf | 4 ---- 1 file changed, 4 deletions(-) diff --git a/backend/templates/_listen.conf b/backend/templates/_listen.conf index 15f0c86..ff768ff 100644 --- a/backend/templates/_listen.conf +++ b/backend/templates/_listen.conf @@ -3,11 +3,9 @@ {% if ipv6 -%} listen [::]:88 proxy_protocol; {% endif %} -{% else -%} listen 80; {% if ipv6 -%} listen [::]:80; -{% endif %} {% endif %} {% if certificate -%} {% if enable_proxy_protocol == 1 or enable_proxy_protocol == true%} @@ -15,11 +13,9 @@ {% if ipv6 -%} listen [::]:444 ssl{% if http2_support %} http2{% endif %} proxy_protocol; {% endif %} -{% else -%} listen 443 ssl{% if http2_support %} http2{% endif %}; {% if ipv6 -%} listen [::]:443 ssl{% if http2_support %} http2{% endif %}; {% endif %} -{% endif %} {% endif %} server_name {{ domain_names | join: " " }}; \ No newline at end of file