Move Keycloak config to main domain

This commit is contained in:
Anthony Wang 2021-07-24 15:35:25 -05:00 committed by GitHub
parent de1ca3f1e7
commit ed4286bc28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,6 +28,14 @@ server {
return 301 https://social.exozy.me$request_uri;
}
location /auth {
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;
}
location /howtuwu {
alias /srv/http/exozy.me/howtuwu/public;
}