From b2a00d0006bf4aac8bce9f404112e682c0015430 Mon Sep 17 00:00:00 2001 From: Grisha Shipunov Date: Wed, 11 Jun 2025 19:25:44 +0200 Subject: nginx->caddy --- hosts/cloud/proxy/immich.nix | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 hosts/cloud/proxy/immich.nix (limited to 'hosts/cloud/proxy/immich.nix') diff --git a/hosts/cloud/proxy/immich.nix b/hosts/cloud/proxy/immich.nix deleted file mode 100644 index 93e62d2..0000000 --- a/hosts/cloud/proxy/immich.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ ... }: -{ - services.nginx.upstreams.immich = { - servers = { - "10.89.88.13:2283" = { }; - "[fd31:185d:722f::13]:2283" = { }; - }; - }; - - services.nginx.virtualHosts."immich.oxapentane.com" = { - enableACME = true; - forceSSL = true; - locations."/" = { - proxyPass = "http://immich"; - extraConfig = '' - client_max_body_size 50000M; - - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; - - proxy_read_timeout 600s; - proxy_send_timeout 600s; - send_timeout 600s; - ''; - }; - }; -} -- cgit v1.3.1