Hide proxy port to prevent CSRF errors

This commit is contained in:
Eric Nemchik 2023-02-10 22:05:10 -06:00
commit 595c9a095f

View file

@ -42,6 +42,9 @@ server {
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
# Hide proxy port to prevent CSRF errors
proxy_hide_header X-Forwarded-Port;
# Uncomment to allow loading in an iframe (i.e. Organizr)
#proxy_hide_header X-Frame-Options;
}