From 036fb0813226038773730c6a0387a4f77adb2110 Mon Sep 17 00:00:00 2001 From: th33xitus Date: Fri, 22 Jan 2021 20:52:21 +0100 Subject: [PATCH] fix: remove upload limit of 200M in NGINX configs for mainsail and fluidd --- resources/fluidd_nginx.cfg | 4 ++-- resources/mainsail_nginx.cfg | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/fluidd_nginx.cfg b/resources/fluidd_nginx.cfg index 36adf37..38fb908 100644 --- a/resources/fluidd_nginx.cfg +++ b/resources/fluidd_nginx.cfg @@ -24,7 +24,7 @@ server { server_name _; #max upload size for gcodes - client_max_body_size 200M; + client_max_body_size 0; location / { try_files $uri $uri/ /index.html; @@ -84,4 +84,4 @@ server { location /webcam/ { proxy_pass http://mjpgstreamer/; } -} \ No newline at end of file +} diff --git a/resources/mainsail_nginx.cfg b/resources/mainsail_nginx.cfg index 4a3e93f..b319f07 100644 --- a/resources/mainsail_nginx.cfg +++ b/resources/mainsail_nginx.cfg @@ -24,7 +24,7 @@ server { server_name _; #max upload size for gcodes - client_max_body_size 200M; + client_max_body_size 0; location / { try_files $uri $uri/ /index.html; @@ -84,4 +84,4 @@ server { location /webcam/ { proxy_pass http://mjpgstreamer/; } -} \ No newline at end of file +}