fix: double config in extra content

This commit is contained in:
2024-11-23 17:04:40 +00:00
parent adac0ed6a8
commit da24ff9b1e

View File

@@ -4,8 +4,10 @@ server {
listen {{ portstring }} {% if udp %} udp {% endif %}{% if ssl %} ssl {% endif %};
listen [::]:{{ portstring }} {% if udp %} udp {% endif %}{% if ssl %} ssl {% endif %};
{% if not extra_content or not "proxy_timeout" in extra_content %}
proxy_timeout {{ proxy_timeout }};
proxy_responses 1;
{% endif %}
{% if targetportoverwrite %}
proxy_pass {{ targetip }}:{{ targetportoverwrite }};