From ed4286bc285e7cb0b8b25ddf4f2a22a1dea199f1 Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Sat, 24 Jul 2021 15:35:25 -0500 Subject: [PATCH] Move Keycloak config to main domain --- exozyme.conf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/exozyme.conf b/exozyme.conf index ca5c576..d558b69 100644 --- a/exozyme.conf +++ b/exozyme.conf @@ -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; }