You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-08-10 22:31:47 +02:00
nginx should recursively set the realip until the first no trusted address is found
(cherry picked from commit 28f3b60615
)
This commit is contained in:
@@ -28,6 +28,7 @@ http {
|
||||
|
||||
{% if REAL_IP_FROM %}{% for from_ip in REAL_IP_FROM.split(',') %}
|
||||
set_real_ip_from {{ from_ip }};
|
||||
real_ip_recursive on;
|
||||
{% endfor %}{% endif %}
|
||||
|
||||
# Header maps
|
||||
|
Reference in New Issue
Block a user