diff options
author | polwex <polwex@sortug.com> | 2025-06-23 06:54:50 +0700 |
---|---|---|
committer | polwex <polwex@sortug.com> | 2025-06-23 06:54:50 +0700 |
commit | 34fae224e8460419ae8ef0fe32a12e3d362142b8 (patch) | |
tree | ff96ac666a2af6b13f6df7480da685fa0bff0e64 /hosts/cloud/sortug/nginx.nix | |
parent | 773726a27a2651152c476d4f8fefd5be30a4e786 (diff) |
m
Diffstat (limited to 'hosts/cloud/sortug/nginx.nix')
-rw-r--r-- | hosts/cloud/sortug/nginx.nix | 7 |
1 files changed, 3 insertions, 4 deletions
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; |