mirror of
https://github.com/lingble/Mailu.git
synced 2026-03-20 03:50:30 +00: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