From af46a375a968d99544b7765b93ed340ab0735524 Mon Sep 17 00:00:00 2001 From: Chris Guida Date: Tue, 16 Mar 2021 14:12:22 -0600 Subject: [PATCH] Nginx: allow infinite body sizes (#256) --- appmgr/src/nginx-standard.conf.template | 1 + appmgr/src/nginx.conf.template | 1 + 2 files changed, 2 insertions(+) diff --git a/appmgr/src/nginx-standard.conf.template b/appmgr/src/nginx-standard.conf.template index cba40a4d3..eb4243320 100644 --- a/appmgr/src/nginx-standard.conf.template +++ b/appmgr/src/nginx-standard.conf.template @@ -9,6 +9,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-Forwarded-Proto $scheme; + client_max_body_size 0; }} }} server {{ diff --git a/appmgr/src/nginx.conf.template b/appmgr/src/nginx.conf.template index fff78b434..0f19c850f 100644 --- a/appmgr/src/nginx.conf.template +++ b/appmgr/src/nginx.conf.template @@ -4,5 +4,6 @@ server {{ location / {{ proxy_pass http://{app_ip}:{internal_port}/; proxy_set_header Host $host; + client_max_body_size 0; }} }}