blob: b64cc7d1b9ce5906e2ae1477d05342c147ce25a1 [file] [log] [blame]
Nico Huber61433f32023-07-25 17:09:14 +00001server {
2 listen 443 ssl;
3 listen [::]:443 ssl;
4
Nico Huber2a128892023-07-25 17:19:42 +00005 server_name id.${SA_PUBLIC_DOMAIN_NAME};
Nico Huber61433f32023-07-25 17:09:14 +00006
7 location /auth/ { # Gerrit adds this prefix for Keycloak...
8 rewrite ^/auth(.*)$ $1 last;
9 }
10
11 location / {
12 proxy_pass http://keycloak:8080;
13 proxy_set_header X-Forwarded-For $remote_addr;
14 proxy_set_header Host $host;
15 }
16}