From eb3008d097ac48bc914652858fbf72a008198ced Mon Sep 17 00:00:00 2001 From: LukeGus Date: Sun, 27 Jul 2025 19:41:24 -0500 Subject: [PATCH] Update backend connectivity --- docker/nginx.conf | 9 +++++++++ src/apps/Homepage/HomepageAuth.tsx | 2 +- src/backend/ssh_tunnel/ssh_tunnel.ts | 1 - 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/docker/nginx.conf b/docker/nginx.conf index 82f9570f..ba944bb1 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -18,6 +18,15 @@ http { index index.html index.htm; } + location /users/ { + 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/db/ { proxy_pass http://127.0.0.1:8081; proxy_http_version 1.1; diff --git a/src/apps/Homepage/HomepageAuth.tsx b/src/apps/Homepage/HomepageAuth.tsx index 061d676a..d534aba5 100644 --- a/src/apps/Homepage/HomepageAuth.tsx +++ b/src/apps/Homepage/HomepageAuth.tsx @@ -181,7 +181,7 @@ export function HomepageAuth({ className, setLoggedIn, setIsAdmin, setUsername, Logged in! - You are logged in! Use the sidebar to access all tools. + You are logged in! Use the sidebar to access all available tools. To get started, create an SSH Host in the SSH Manager tab. Once created, you can connect to that host using the other apps in the sidebar. diff --git a/src/backend/ssh_tunnel/ssh_tunnel.ts b/src/backend/ssh_tunnel/ssh_tunnel.ts index 31cf1617..fd9b71c8 100644 --- a/src/backend/ssh_tunnel/ssh_tunnel.ts +++ b/src/backend/ssh_tunnel/ssh_tunnel.ts @@ -545,7 +545,6 @@ function verifyTunnelConnection(tunnelName: string, tunnelConfig: TunnelConfig, }); stream.on('close', (code: number) => { - logger.debug(`Verification for '${tunnelName}' completed with code ${code}, output: '${output}', error: '${errorOutput}'`); if (code === 0) { cleanupVerification(true); } else {