From 34fae224e8460419ae8ef0fe32a12e3d362142b8 Mon Sep 17 00:00:00 2001 From: polwex Date: Mon, 23 Jun 2025 06:54:50 +0700 Subject: m --- hosts/cloud/sortug/nginx.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'hosts/cloud/sortug/nginx.nix') diff --git a/hosts/cloud/sortug/nginx.nix b/hosts/cloud/sortug/nginx.nix index 5c129fb..86bc03e 100644 --- a/hosts/cloud/sortug/nginx.nix +++ b/hosts/cloud/sortug/nginx.nix @@ -16,12 +16,11 @@ # root = "/home/y/www"; }; 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