1
0
Fork 0
forked from exozyme/nginx

Create keycloak.conf

This commit is contained in:
Anthony Wang 2021-07-24 08:51:59 -05:00 committed by GitHub
parent 9394e0502f
commit de1ca3f1e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

16
keycloak.conf Normal file
View 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;
}
}