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:
parent
c941950344
commit
33516af243
@ -26,9 +26,10 @@ http {
|
||||
real_ip_header proxy_protocol;
|
||||
{% endif %}
|
||||
|
||||
{% if REAL_IP_FROM %}{% for from_ip in REAL_IP_FROM.split(',') %}
|
||||
set_real_ip_from {{ from_ip }};
|
||||
{% if REAL_IP_FROM %}
|
||||
real_ip_recursive on;
|
||||
{% for from_ip in REAL_IP_FROM.split(',') %}
|
||||
set_real_ip_from {{ from_ip }};
|
||||
{% endfor %}{% endif %}
|
||||
|
||||
# Header maps
|
||||
|
Loading…
Reference in New Issue
Block a user