diff options
| author | Mathias Magnusson <mathias@magnusson.space> | 2025-11-24 01:20:19 +0100 |
|---|---|---|
| committer | Mathias Magnusson <mathias@magnusson.space> | 2025-11-24 01:20:19 +0100 |
| commit | 7dcc7a6da509266330ae20eb912c0e045290c7af (patch) | |
| tree | 19c459d4ae7d091f3008b98923e65052a70bc550 | |
| parent | 51c6a38ef780ba6fe3c7d71deee37ee58cdb898e (diff) | |
| download | oden-7dcc7a6da509266330ae20eb912c0e045290c7af.tar.gz | |
configure immich's nginx proxy
| -rw-r--r-- | immich.nix | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -19,9 +19,20 @@ in services.nginx = { enable = true; virtualHosts."immich.oden.m" = { + extraConfig = '' + client_max_body_size 50000M; + proxy_read_timeout 600s; + proxy_send_timeout 600s; + send_timeout 600s; + ''; locations."/" = { proxyPass = "http://localhost:${toString config.services.immich.port}"; + proxyWebsockets = true; }; + listen = [ { + addr = "10.69.0.1"; + port = 80; + } ]; }; }; networking.firewall.allowedTCPPorts = [ 80 ]; |
