vps1: git: session settings

This commit is contained in:
Lgmrszd 2024-05-12 21:16:21 +03:00
parent 22be3cc1b9
commit 9adfb82053
No known key found for this signature in database
GPG key ID: 9396B8BA6FBB14DE

View file

@ -45,6 +45,14 @@ in
DEFAULT = { DEFAULT = {
APP_NAME = "Lgmrszd's git"; APP_NAME = "Lgmrszd's git";
}; };
session = {
PROVIDER = "db";
COOKIE_SECURE = true;
COOKIE_NAME = "lgmgit-session";
DOMAIN = domain;
GC_INTERVAL_TIME = 86400 * 7;
SESSION_LIFE_TIME = 86400 * 7;
};
service = { service = {
DISABLE_REGISTRATION = false; DISABLE_REGISTRATION = false;
ALLOW_ONLY_INTERNAL_REGISTRATION = false; ALLOW_ONLY_INTERNAL_REGISTRATION = false;