Compare commits
2 commits
88673b582e
...
02720387a4
Author | SHA1 | Date | |
---|---|---|---|
|
02720387a4 | ||
|
054143d378 |
1 changed files with 6 additions and 0 deletions
|
@ -8,8 +8,12 @@ in {
|
|||
enable = true;
|
||||
|
||||
config = {
|
||||
# listen only on localhost
|
||||
LISTEN_ADDR = "localhost:${builtins.toString port}";
|
||||
|
||||
# setup the correct baseurl
|
||||
BASE_URL = "https://${svc_domain}";
|
||||
|
||||
# disable admin account, disable local auth
|
||||
CREATE_ADMIN = 0;
|
||||
DISABLE_LOCAL_AUTH = "true";
|
||||
|
@ -29,6 +33,8 @@ in {
|
|||
locations."/" = config.mine.shared.lib.authelia.mkProtectedLocation {
|
||||
proxyPass = "http://localhost:${builtins.toString port}";
|
||||
};
|
||||
|
||||
locations."/v1".proxyPass = "http://localhost:${builtins.toString port}";
|
||||
};
|
||||
|
||||
# meta
|
||||
|
|
Loading…
Reference in a new issue