public-web-static: turn off ports to prevent broken redirects to 8443

This commit is contained in:
June 2024-10-21 21:35:10 +02:00
parent 8165d22159
commit accd31173b
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0
2 changed files with 4 additions and 0 deletions

View file

@ -94,6 +94,8 @@
real_ip_header proxy_protocol;
error_page 404 /404.html;
port_in_redirect off;
'';
};
};

View file

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