feat: adjust configs for gitea

This commit is contained in:
Ryan Yin
2024-07-31 23:13:45 +08:00
parent 94c8eef2cb
commit 3e2340aee7

View File

@@ -27,7 +27,10 @@ in {
};
# one of "Trace", "Debug", "Info", "Warn", "Error", "Critical"
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;
# "cron.sync_external_users" = {