From 209a0411566a75d4f342e61882df2f4671c4d812 Mon Sep 17 00:00:00 2001 From: Michael Bravo Date: Wed, 8 Feb 2023 22:13:38 +0200 Subject: [PATCH] set increased timeout on api Default timeout needs to be increased on API endpoint as well as on the websocket (though smaller) - otherwise, especially on slower systems and with large Gcode files plus object exclusion, sending directly from slicer times out with HTTP 504 --- resources/mainsail | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/mainsail b/resources/mainsail index efabb63..6d63b07 100644 --- a/resources/mainsail +++ b/resources/mainsail @@ -55,6 +55,7 @@ server { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Scheme $scheme; + proxy_read_timeout 600; } location /webcam/ {