diff --git a/services/gitea.nix b/services/gitea.nix index 34e2207..7e58a42 100755 --- a/services/gitea.nix +++ b/services/gitea.nix @@ -4,7 +4,7 @@ enableACME = true; forceSSL = true; locations."/" = { - proxyPass = "http://localhost:3001/"; + proxyPass = "http://localhost:443/"; }; }; @@ -25,6 +25,11 @@ type = "postgres"; passwordFile = "/run/keys/gitea-dbpassword"; }; + settings.service = { + REGISTER_MANUAL_CONFIRM = true + DEFAULT_USER_IS_RESTRICTED = true; + + } settings.server = { HTTP_PORT = 3001; };