From 04fce7382f5ad9e7287fb5d313ef9528dd470297 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20Lothor=C3=A9?= Date: Mon, 27 Jan 2020 22:27:28 +0100 Subject: [PATCH] Update max upload size to allow pushing GCode to server --- conf/nginx.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index b61db04..e76acd3 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -3,7 +3,7 @@ location / { if ($scheme = http) { rewrite ^ https://$server_name$request_uri? permanent; } - + proxy_pass http://localhost:__PORT__; proxy_set_header Host $host; proxy_redirect http:// https://; @@ -14,4 +14,5 @@ location / { # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; + client_max_body_size 1G; }