NGINX - Keycloack - 443 ??

Issues related to applications and software problems
Post Reply
Posts: 36
Joined: 2016/02/13 10:07:42
Location: Austria

NGINX - Keycloack - 443 ??

Post by mcheoti » 2018/01/18 14:56:41

HI everbody!

I have CentOS7 based machine, with an NGINX Webserver which transports all the traffic over port 443.
Good news, allmost everythin is working but i only have a little problem.
I installed keycloack and added the location patch in the NGINX Config

Code: Select all

location /auth/ {
        #chris add
        proxy_set_header X-Forwarded-Host $host:$server_port;
        proxy_set_header X-Forwarded-Server $host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
Now i can access the machine via (Link changed)

Code: Select all
But when i click on the Administration Console, i get an redirection see here:
target link is:

Code: Select all
end link: and please see https was replaced by http with port 443 as an addition

Code: Select all
What do i miss and what should i change?
Cheers Mchoeti

Post Reply

Return to “CentOS 7 - Software Support”