diff options
author | sinanmohd <sinan@sinanmohd.com> | 2025-02-28 22:11:22 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2025-02-28 22:11:22 +0530 |
commit | d72a55ac3369912643c38878e9df36968b024327 (patch) | |
tree | 89f10098e9d8add089c014de801244d66b0246de /os/kay/modules/www.nix | |
parent | 4870446fdc08f066c124ffc148d274942f37b631 (diff) |
kay/immich: init
Diffstat (limited to 'os/kay/modules/www.nix')
-rw-r--r-- | os/kay/modules/www.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/os/kay/modules/www.nix b/os/kay/modules/www.nix index 2500222..98116e3 100644 --- a/os/kay/modules/www.nix +++ b/os/kay/modules/www.nix @@ -115,6 +115,19 @@ in }"''; }; + "immich.${domain}" = defaultOpts // { + locations."/" = { + proxyWebsockets = true; + proxyPass = "http://${config.services.immich.host}:${builtins.toString config.services.immich.port}"; + }; + + extraConfig = '' + proxy_buffering off; + proxy_request_buffering off; + client_max_body_size 0; + ''; + }; + "nixbin.${domain}" = defaultOpts // { extraConfig = "proxy_buffering off;"; locations = { |