This commit is contained in:
Stanislav Hubacek
2026-04-04 23:59:18 +02:00
parent 98320fc827
commit 2c5fbf845a
7 changed files with 81 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
{{ domain }} {
{% if headers %}
import common_headers
{% endif %}
{% if auth %}
import common_auth
{% endif %}
{% if reverse_proxy_block %}
reverse_proxy {{ backend }} {
{% if real_ip %}
header_up X-Real-IP {remote_host}
{% endif %}
{% if health_uri %}
health_uri {{ health_uri }}
{% endif %}
{% if health_interval %}
health_interval {{ health_interval }}
{% endif %}
}
{% else %}
reverse_proxy {{ backend }}
{% endif %}
}

View File

@@ -0,0 +1,7 @@
{{ domain }} {
{% if headers %}
import common_headers
{% endif %}
root * {{ root }}
file_server
}