make registration require manual approval

This commit is contained in:
Sky Hearn 2025-02-18 15:10:04 -08:00
parent 424644cd97
commit a97c50b740
1 changed files with 6 additions and 1 deletions

View File

@ -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;
};