mirror of
https://github.com/FAUSheppy/athq-vm-management
synced 2025-12-06 22:01:35 +01:00
fix: double config in extra content
This commit is contained in:
@@ -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 %};
|
||||||
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_timeout {{ proxy_timeout }};
|
||||||
proxy_responses 1;
|
proxy_responses 1;
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if targetportoverwrite %}
|
{% if targetportoverwrite %}
|
||||||
proxy_pass {{ targetip }}:{{ targetportoverwrite }};
|
proxy_pass {{ targetip }}:{{ targetportoverwrite }};
|
||||||
|
|||||||
Reference in New Issue
Block a user