1
0
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:
Dominik Hebeler
2024-06-25 12:38:51 +02:00
committed by Mergify
parent 0d2630c47b
commit c941950344
2 changed files with 2 additions and 0 deletions

View File

@@ -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