Add client max body size
This commit is contained in:
parent
522c6796da
commit
2ef2d1296e
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,8 @@ location / {
|
||||||
}
|
}
|
||||||
try_files $uri @{{ app }};
|
try_files $uri @{{ app }};
|
||||||
}
|
}
|
||||||
|
client_max_body_size 50M;
|
||||||
|
|
||||||
location @{{ app }} {
|
location @{{ app }} {
|
||||||
proxy_pass http://127.0.0.1:{{ port }};
|
proxy_pass http://127.0.0.1:{{ port }};
|
||||||
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
|
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
|
||||||
|
|
Loading…
Reference in a new issue