Skip to content

Commit

Permalink
Disable client max body limit (#2216)
Browse files Browse the repository at this point in the history
* disable client max body limit

* add comment

Co-authored-by: Ubuntu (Vicky) <ubuntu@vicky-test-openresty-cn.us-central1-f.c.audius-infrastructure.internal>
  • Loading branch information
vicky-g and Ubuntu (Vicky) committed Jan 4, 2022
1 parent 71aa67e commit 4f63924
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion creator-node/nginx_conf/nginx.conf
Expand Up @@ -5,7 +5,9 @@ events {
}

http {
client_max_body_size 1000M;
# A value of 0 disables client upload size check on the nginx proxy layer, and shifts the responsibility
# back to the app
client_max_body_size 0;
lua_package_path "/usr/local/openresty/conf/?.lua;;";

proxy_cache_path /usr/local/openresty/cache levels=1:2 keys_zone=cidcache:1000m
Expand Down

0 comments on commit 4f63924

Please sign in to comment.