Use the X-Forwarded-* headers for keycloak instead of Forwarded

This also explicitly sets X-Forwarded-Proto to https which fixes
the warning "Non-secure context detected; cookies are not secured,
and will not be available in cross-origin POST requests" which
prevented the user account management page to load.
This commit is contained in:
fi 2025-02-11 18:24:45 +01:00
parent c174f625c8
commit e484360f91
2 changed files with 15 additions and 1 deletions

View file

@ -5,7 +5,7 @@
settings = {
hostname = "https://id.nekover.se";
hostname-admin = "https://keycloak-admin.nekover.se";
proxy-headers = "forwarded";
proxy-headers = "xforwarded";
http-enabled = true;
http-host = "127.0.0.1";
http-port = 8080;