how to set client_max_body_size dynamic for nginx -



how to set client_max_body_size dynamic for nginx -

i want config dynamically client_max_body_size using variable in nginx config.

set $max_body 100m; client_max_body_size $max_body;

how patch nginx this?

thanks,

you can't.

directive client_max_body_size doesn't take variables , not usable in if block.

dynamic nginx patch

Comments

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

Is there a way to convert an HTML page styled with Bootstrap CSS into email-compatible html? -