From 6e8585d68e081c450384833aa94e1369f932cce6 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Tue, 11 Oct 2022 22:36:05 +0200 Subject: [PATCH] services: photoprism: increase nginx timeout --- services/photoprism.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/services/photoprism.nix b/services/photoprism.nix index 442f3f9..8408d67 100644 --- a/services/photoprism.nix +++ b/services/photoprism.nix @@ -70,6 +70,12 @@ in { proxyPass = "http://127.0.0.1:${toString cfg.port}"; proxyWebsockets = true; }; + + extraConfig = '' + proxy_connect_timeout 600; + proxy_read_timeout 600; + proxy_send_timeout 600; + ''; }; };