From a97c50b740c7b570db79ed36252e699bff805833 Mon Sep 17 00:00:00 2001 From: Sky Hearn Date: Tue, 18 Feb 2025 15:10:04 -0800 Subject: [PATCH] make registration require manual approval --- services/gitea.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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; };