fix ports in redirects

This commit is contained in:
June 2026-04-04 17:21:39 +02:00
commit 6ac55fe4a2
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0
2 changed files with 4 additions and 0 deletions

View file

@ -42,6 +42,8 @@ in {
# Then tell the realip_module to get the addreses from the proxy protocol
# header.
real_ip_header proxy_protocol;
port_in_redirect off;
'';
};
};

View file

@ -48,6 +48,8 @@ in {
# Then tell the realip_module to get the addreses from the proxy protocol
# header.
real_ip_header proxy_protocol;
port_in_redirect off;
'';
};
};