diff options
Diffstat (limited to '')
-rw-r--r-- | modules/services/gitea/default.nix | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/modules/services/gitea/default.nix b/modules/services/gitea/default.nix index 6828439..6259c30 100644 --- a/modules/services/gitea/default.nix +++ b/modules/services/gitea/default.nix @@ -37,10 +37,14 @@ in { }; }; - my.services.nginx.virtualHosts = [{ - subdomain = "gitea"; - port = 8002; - }]; + services.nginx.virtualHosts."git.fcuny.net" = { + forceSSL = true; + enableACME = true; + locations."/" = { + proxyPass = "http://127.0.0.1:8002"; + proxyWebsockets = true; + }; + }; my.services.backup = { paths = [ cfg.stateDir ]; }; }; |