blob: 9dbac41adc2eb62093752d431794648b45c23f98 [file] [log] [blame]
Nico Huber61433f32023-07-25 17:09:14 +00001server {
2 listen 443 ssl;
3 listen [::]:443 ssl;
4
5 server_name id.miau.local;
6
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}