Compare commits

...

2 commits

Author SHA1 Message Date
eyjhb
02720387a4
services.miniflux: set base_url correctly 2024-12-31 13:37:52 +01:00
eyjhb
054143d378
services.miniflux: disable authelia for API endpoint 2024-12-31 13:37:18 +01:00

View file

@ -8,8 +8,12 @@ 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";
@ -29,6 +33,8 @@ 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