Compare commits

..

No commits in common. "02720387a4ebbb1549ef5f432bc5814781852b07" and "88673b582e76358b3dfe945bf2b8271897f5ad8f" have entirely different histories.

View file

@ -8,12 +8,8 @@ in {
enable = true; enable = true;
config = { config = {
# listen only on localhost
LISTEN_ADDR = "localhost:${builtins.toString port}"; LISTEN_ADDR = "localhost:${builtins.toString port}";
# setup the correct baseurl
BASE_URL = "https://${svc_domain}";
# disable admin account, disable local auth # disable admin account, disable local auth
CREATE_ADMIN = 0; CREATE_ADMIN = 0;
DISABLE_LOCAL_AUTH = "true"; DISABLE_LOCAL_AUTH = "true";
@ -33,8 +29,6 @@ in {
locations."/" = config.mine.shared.lib.authelia.mkProtectedLocation { locations."/" = config.mine.shared.lib.authelia.mkProtectedLocation {
proxyPass = "http://localhost:${builtins.toString port}"; proxyPass = "http://localhost:${builtins.toString port}";
}; };
locations."/v1".proxyPass = "http://localhost:${builtins.toString port}";
}; };
# meta # meta