Nico Huber | 61433f3 | 2023-07-25 17:09:14 +0000 | [diff] [blame^] | 1 | server { |
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 | } |