mirror of
https://github.com/tale/headplane.git
synced 2026-08-21 02:06:37 +00:00
Merge pull request #358 from rhoriguchi/main
This commit is contained in:
@@ -64,6 +64,25 @@ in {
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
cookie_max_age = mkOption {
|
||||||
|
type = types.int;
|
||||||
|
default = 86400;
|
||||||
|
description = "The maximum age of the session cookie in seconds.";
|
||||||
|
example = "3600";
|
||||||
|
};
|
||||||
|
|
||||||
|
cookie_domain = mkOption {
|
||||||
|
type = types.nullOr types.str;
|
||||||
|
default = null;
|
||||||
|
description = ''
|
||||||
|
This is not required, but if you want to restrict the
|
||||||
|
cookie to a specific domain, set it here. Otherwise leave
|
||||||
|
it commented out. This may not work as expected if not
|
||||||
|
using a reverse proxy.
|
||||||
|
'';
|
||||||
|
example = "headscale.example.com";
|
||||||
|
};
|
||||||
|
|
||||||
data_path = mkOption {
|
data_path = mkOption {
|
||||||
type = types.path;
|
type = types.path;
|
||||||
default = "/var/lib/headplane";
|
default = "/var/lib/headplane";
|
||||||
|
|||||||
Reference in New Issue
Block a user