1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00

do not put real_ip_recursive within the for-loop

(cherry picked from commit 5be25b5887)
This commit is contained in:
Dominik Hebeler 2024-06-25 13:34:17 +02:00 committed by Mergify
parent c941950344
commit 33516af243

View File

@ -26,9 +26,10 @@ http {
real_ip_header proxy_protocol; real_ip_header proxy_protocol;
{% endif %} {% endif %}
{% if REAL_IP_FROM %}{% for from_ip in REAL_IP_FROM.split(',') %} {% if REAL_IP_FROM %}
set_real_ip_from {{ from_ip }};
real_ip_recursive on; real_ip_recursive on;
{% for from_ip in REAL_IP_FROM.split(',') %}
set_real_ip_from {{ from_ip }};
{% endfor %}{% endif %} {% endfor %}{% endif %}
# Header maps # Header maps