You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-08-10 22:31:47 +02:00
do not put real_ip_recursive within the for-loop
(cherry picked from commit 5be25b5887
)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user