Repository navigation
Before reporting an issue
AreaNo response Describe the bugI deployed my nginx config: my docker cli: wish it could be resolved,thx~ Versiondocker 26.0.8 Regression
Expected behaviorcould visit normally Actual behavior~ How to Reproduce?docker run and use nginx for reverse proxy Anything else?No response |
Replies: 3 comments
|
Converted this to a discussion as this is very likely a configuration issue and not a bug in Keycloak itself. Please make sure to see if any existing closed issues related to NGNIX match your problem, and make sure to read the Configuring the hostname and Using a reverse proxy guides. |
|
It looks like you have configured Keycloak's hostname to use HTTP, instead of HTTPS, which would explain how you have been able to access the console originally via HTTPS, but additional resources refer HTTP. See the https://www.keycloak.org/server/hostname and https://www.keycloak.org/server/reverseproxy guides for more details about which settings must be passed to Keycloak to configure the hostname and make it work with a reverse proxy (nginx). |
|
thxxxx,i added an environment variables |
Converted this to a discussion as this is very likely a configuration issue and not a bug in Keycloak itself. Please make sure to see if any existing closed issues related to NGNIX match your problem, and make sure to read the Configuring the hostname and Using a reverse proxy guides.