1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/octoprint_ynh.git synced 2024-09-03 19:46:26 +02:00

Update max upload size to allow pushing GCode to server

This commit is contained in:
Alexis Lothoré 2020-01-27 22:27:28 +01:00
parent c5cf15d7cb
commit 04fce7382f

View file

@ -3,7 +3,7 @@ location / {
if ($scheme = http) { if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent; rewrite ^ https://$server_name$request_uri? permanent;
} }
proxy_pass http://localhost:__PORT__; proxy_pass http://localhost:__PORT__;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_redirect http:// https://; proxy_redirect http:// https://;
@ -14,4 +14,5 @@ location / {
# Include SSOWAT user panel. # Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc; include conf.d/yunohost_panel.conf.inc;
client_max_body_size 1G;
} }