Skip to content

Commit a2dd7d1

Browse files
committed
Testing keycloak config
1 parent bf8f75b commit a2dd7d1

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

nginx.conf

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,10 @@ http {
176176
server_name $SERVER_NAME_KC;
177177

178178
location / {
179-
set $backend http://keycloak:8080;
180-
proxy_pass $backend;
181-
rewrite .* / break;
179+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
180+
proxy_set_header X-Forwarded-Proto https;
181+
proxy_set_header Host $host;
182+
proxy_pass http://keycloak:8080;
182183
}
183184
}
184185

0 commit comments

Comments
 (0)