diff --git a/files/moonraker/nginx.conf b/files/moonraker/nginx.conf index c7262d1..fafc562 100644 --- a/files/moonraker/nginx.conf +++ b/files/moonraker/nginx.conf @@ -14,6 +14,7 @@ http { proxy_send_timeout 1600; proxy_read_timeout 1600; send_timeout 1600; + proxy_max_temp_file_size 0; server { listen 4408 default_server; @@ -65,18 +66,38 @@ http { } location /webcam/ { + postpone_output 0; + proxy_buffering off; + proxy_ignore_headers X-Accel-Buffering; + access_log off; + error_log off; proxy_pass http://mjpgstreamer1/; } location /webcam2/ { + postpone_output 0; + proxy_buffering off; + proxy_ignore_headers X-Accel-Buffering; + access_log off; + error_log off; proxy_pass http://mjpgstreamer2/; } location /webcam3/ { + postpone_output 0; + proxy_buffering off; + proxy_ignore_headers X-Accel-Buffering; + access_log off; + error_log off; proxy_pass http://mjpgstreamer3/; } location /webcam4/ { + postpone_output 0; + proxy_buffering off; + proxy_ignore_headers X-Accel-Buffering; + access_log off; + error_log off; proxy_pass http://mjpgstreamer4/; } }