From 2d55e1a635bd3cbaf97fdc5b2addb14af483b3fa Mon Sep 17 00:00:00 2001 From: chaos Date: Mon, 16 Dec 2024 22:24:46 +0000 Subject: [PATCH] work on photoprism --- hosts/hetzner-arm/containers/storage/storage.nix | 3 +-- hosts/hetzner-arm/profiles/vaultwarden.nix | 5 +++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hosts/hetzner-arm/containers/storage/storage.nix b/hosts/hetzner-arm/containers/storage/storage.nix index e9f6e12..39ab60a 100644 --- a/hosts/hetzner-arm/containers/storage/storage.nix +++ b/hosts/hetzner-arm/containers/storage/storage.nix @@ -13,8 +13,7 @@ hostIP = containerAddresses.host; containerIP = containerAddresses.containers.storage; - # 32GB - clientMaxBodySize = "${toString (1024 * 10)}M"; + clientMaxBodySize = "${toString (1024 * 128)}M"; ports = import ./data/ports.nix; in { diff --git a/hosts/hetzner-arm/profiles/vaultwarden.nix b/hosts/hetzner-arm/profiles/vaultwarden.nix index 4e31044..3915939 100644 --- a/hosts/hetzner-arm/profiles/vaultwarden.nix +++ b/hosts/hetzner-arm/profiles/vaultwarden.nix @@ -13,8 +13,9 @@ services.nginx.virtualHosts."vaultwarden.owo.monster" = { forceSSL = true; enableACME = true; - locations = { - "/".proxyPass = "http://127.0.0.1:8222"; + locations."/" = { + proxyPass = "http://127.0.0.1:8222"; + proxyWebsockets = true; }; }; }