diff --git a/machines/gerd/services/miniflux.nix b/machines/gerd/services/miniflux.nix index 672ebe6..1303a21 100644 --- a/machines/gerd/services/miniflux.nix +++ b/machines/gerd/services/miniflux.nix @@ -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