diff --git a/immich-ml-container.nix b/immich-ml-container.nix index d7589c1..9f008f5 100644 --- a/immich-ml-container.nix +++ b/immich-ml-container.nix @@ -58,6 +58,10 @@ in { virtualHosts = genAttrs cfg.hostnames (hostname: { enableACME = false; forceSSL = false; + locations."/metrics" = { + proxyPass = "http://127.0.0.1:${toString cfg.metrics-port}"; + recommendedProxySettings = true; + }; locations."/" = { proxyPass = "http://127.0.0.1:${toString cfg.port}"; recommendedProxySettings = true;