fix of internal

This commit is contained in:
hubaceks
2026-05-02 22:08:54 +02:00
parent f9ae17cdd4
commit c3354c0cec

View File

@@ -5,9 +5,10 @@
{% if auth %}
import common_auth
{% endif %}
{% if internal %}
@internal {
remote_ip {% for range in internal_ranges %}{{ range }}{% if not loop.last %} {% endif %}{% endfor %}
remote_ip{% for item in internal_ranges %} {{ item }}{% endfor %}
}
handle @internal {
@@ -31,7 +32,9 @@
handle {
respond "Forbidden" 403
}
{% else %}
{% if reverse_proxy_block %}
reverse_proxy {{ backend }} {
{% if real_ip %}
@@ -47,5 +50,6 @@
{% else %}
reverse_proxy {{ backend }}
{% endif %}
{% endif %}
}