Skip to content

How to setup up 'client_max_body_size' in this proxy? (upload large files) #261

Answered by evertramos
cod3r0k asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks @gustawdaniel for your suggestion! Let's see if we make this clear and help others.

This proxy allows you to set 'client_max_body_size' in couple ways.

  1. Use $ ./fresh-start.sh with `--use-nginx-conf-files' argument

This way you will have 100m allowed as of uploadsize.conf

  1. If you already have the proxy running add this file to ./data/conf.d folder.

  2. You can set this option per site as of nginx-proxy doc

Adding this setting per site you must use the site (url) name as mentioned in this sample as well.

You can set client_max_body_size at multiple context as of nginx docs, you can use it per location if you with to or at vhost (http) level.

So, if you…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@Pyroseza
Comment options

@evertramos
Comment options

@ivanhercaz
Comment options

Answer selected by evertramos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #230 on March 30, 2021 18:01.