From ea3892252c151f3261b3a8e1f02ed347988f78c0 Mon Sep 17 00:00:00 2001 From: polwex Date: Wed, 16 Jul 2025 06:04:51 +0700 Subject: m --- hosts/cloud/sortug/nginx.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'hosts/cloud') diff --git a/hosts/cloud/sortug/nginx.nix b/hosts/cloud/sortug/nginx.nix index 86bc03e..e744473 100644 --- a/hosts/cloud/sortug/nginx.nix +++ b/hosts/cloud/sortug/nginx.nix @@ -17,10 +17,12 @@ }; virtualHosts."git.sortug.com" = { # basicAuth = {yuanshikai = "seegit";}; - proxyPass = "http://127.0.0.1:3000"; - proxyWebsockets = true; # needed if you need to use WebSocket enableACME = true; forceSSL = true; + locations."/" = { + proxyPass = "http://127.0.0.1:3000"; + proxyWebsockets = true; # needed if you need to use WebSocket + }; }; virtualHosts."ai.sortug.com" = { enableACME = true; -- cgit v1.2.3