mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-13 08:02:40 +02:00
feat: adjust configs for gitea
This commit is contained in:
@@ -27,7 +27,10 @@ in {
|
|||||||
};
|
};
|
||||||
# one of "Trace", "Debug", "Info", "Warn", "Error", "Critical"
|
# one of "Trace", "Debug", "Info", "Warn", "Error", "Critical"
|
||||||
log.LEVEL = "Info";
|
log.LEVEL = "Info";
|
||||||
session.COOKIE_SECURE = false;
|
# Marks session cookies as "secure" as a hint for browsers to only send them via HTTPS.
|
||||||
|
session.COOKIE_SECURE = true;
|
||||||
|
# NOTE: The first registered user will be the administrator,
|
||||||
|
# so this parameter should NOT be set before the first user registers!
|
||||||
service.DISABLE_REGISTRATION = true;
|
service.DISABLE_REGISTRATION = true;
|
||||||
|
|
||||||
# "cron.sync_external_users" = {
|
# "cron.sync_external_users" = {
|
||||||
|
|||||||
Reference in New Issue
Block a user