From a4ca1512fceb27e3f06c3e2688bbd0122f586bbf Mon Sep 17 00:00:00 2001 From: LukeGus Date: Thu, 11 Sep 2025 16:44:15 -0500 Subject: [PATCH] Add electron API routes --- docker/nginx.conf | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docker/nginx.conf b/docker/nginx.conf index 2a943a46..85747ea2 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -63,6 +63,25 @@ http { proxy_set_header X-Forwarded-Proto $scheme; } + # Electron OIDC success/error handlers + location /electron-oidc-success { + proxy_pass http://127.0.0.1:8081; + proxy_http_version 1.1; + 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 $scheme; + } + + location /electron-oidc-error { + proxy_pass http://127.0.0.1:8081; + proxy_http_version 1.1; + 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 $scheme; + } + location /ssh/ { proxy_pass http://127.0.0.1:8081; proxy_http_version 1.1;