forked from exozyme/nginx
Create keycloak.conf
This commit is contained in:
parent
9394e0502f
commit
de1ca3f1e7
1 changed files with 16 additions and 0 deletions
16
keycloak.conf
Normal file
16
keycloak.conf
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
server {
|
||||||
|
listen 443 ssl http2;
|
||||||
|
listen [::]:443 ssl http2;
|
||||||
|
server_name login.exozy.me;
|
||||||
|
|
||||||
|
ssl_certificate /etc/letsencrypt/live/exozy.me/fullchain.pem;
|
||||||
|
ssl_certificate_key /etc/letsencrypt/live/exozy.me/privkey.pem;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
proxy_pass http://127.0.0.1:8080;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header X-Forwarded-Proto https;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue