diff --git a/hosts/hetzner-arm/profiles/photoprism.nix b/hosts/hetzner-arm/profiles/photoprism.nix index 23c8ab7..4a0ee6c 100644 --- a/hosts/hetzner-arm/profiles/photoprism.nix +++ b/hosts/hetzner-arm/profiles/photoprism.nix @@ -49,12 +49,12 @@ in { originalsPath = "/Photos"; }; - services.nginx.virtualHosts."vault.owo.monster" = { + services.nginx.virtualHosts."photoprism.owo.monster" = { forceSSL = true; enableACME = true; locations = { "/" = { - proxyPass = "http://127.0.0.1:8200"; + proxyPass = "http://127.0.0.1:${config.services.photoprism.port}"; proxyWebsockets = true; extraConfig = '' proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;