make registration require manual approval
This commit is contained in:
parent
424644cd97
commit
a97c50b740
|
@ -4,7 +4,7 @@
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://localhost:3001/";
|
proxyPass = "http://localhost:443/";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -25,6 +25,11 @@
|
||||||
type = "postgres";
|
type = "postgres";
|
||||||
passwordFile = "/run/keys/gitea-dbpassword";
|
passwordFile = "/run/keys/gitea-dbpassword";
|
||||||
};
|
};
|
||||||
|
settings.service = {
|
||||||
|
REGISTER_MANUAL_CONFIRM = true
|
||||||
|
DEFAULT_USER_IS_RESTRICTED = true;
|
||||||
|
|
||||||
|
}
|
||||||
settings.server = {
|
settings.server = {
|
||||||
HTTP_PORT = 3001;
|
HTTP_PORT = 3001;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue