mirror of
https://git.lgmrszd.xyz/Lgmrszd/nix-cfg.git
synced 2024-11-22 03:07:56 +01:00
vps1: git: session settings
This commit is contained in:
parent
22be3cc1b9
commit
9adfb82053
1 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue