Nginx: allow infinite body sizes (#256)

This commit is contained in:
Chris Guida
2021-03-16 14:12:22 -06:00
committed by Keagan McClelland
parent 74a559eade
commit af46a375a9
2 changed files with 2 additions and 0 deletions

View File

@@ -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 {{

View File

@@ -4,5 +4,6 @@ server {{
location / {{
proxy_pass http://{app_ip}:{internal_port}/;
proxy_set_header Host $host;
client_max_body_size 0;
}}
}}