diff --git a/nixos/consensus/configuration.nix b/nixos/consensus/configuration.nix index 3308158..404bd3d 100644 --- a/nixos/consensus/configuration.nix +++ b/nixos/consensus/configuration.nix @@ -47,24 +47,24 @@ machine-learning.enable = false; mediaLocation = "/rice/immich"; }; - nginx = { - enable = true; - virtualHosts."img.10110110.xyz" = { - useACMEHost = "10110110.xyz"; - forceSSL = true; - locations."/" = { - proxyPass = "http://localhost:${toString config.services.immich.port}"; - proxyWebsockets = true; - recommendedProxySettings = true; - extraConfig = '' - client_max_body_size 50000M; - proxy_read_timeout 600s; - proxy_send_timeout 600s; - send_timeout 600s; - ''; + nginx = { + enable = true; + virtualHosts."img.10110110.xyz" = { + useACMEHost = "10110110.xyz"; + forceSSL = true; + locations."/" = { + proxyPass = "http://localhost:${toString config.services.immich.port}"; + proxyWebsockets = true; + recommendedProxySettings = true; + extraConfig = '' + client_max_body_size 50000M; + proxy_read_timeout 600s; + proxy_send_timeout 600s; + send_timeout 600s; + ''; + }; }; - }; - }; + }; }; boot = { tmp.cleanOnBoot = true;