Add client max body size

This commit is contained in:
mdphoto 2020-06-12 17:41:57 +02:00 committed by GitHub
parent 522c6796da
commit 2ef2d1296e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,6 +4,8 @@ location / {
}
try_files $uri @{{ app }};
}
client_max_body_size 50M;
location @{{ app }} {
proxy_pass http://127.0.0.1:{{ port }};
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;