diff options
author | polwex <polwex@sortug.com> | 2025-07-16 06:04:51 +0700 |
---|---|---|
committer | polwex <polwex@sortug.com> | 2025-07-16 06:04:51 +0700 |
commit | ea3892252c151f3261b3a8e1f02ed347988f78c0 (patch) | |
tree | 34a17f6047a0cfa6d21250da7c23955dd15b54ab /hosts/cloud/sortug | |
parent | f236704849d20d090723d5bf9061bf845f7ba05d (diff) |
m
Diffstat (limited to 'hosts/cloud/sortug')
-rw-r--r-- | hosts/cloud/sortug/nginx.nix | 6 |
1 files changed, 4 insertions, 2 deletions
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; |