Welcome! Log In Create A New Profile

Advanced

Re: Trying to confirm syntax of CLIENT_MAX_BODY_SIZE environment variable

Sergey A. Osokin
December 04, 2022 11:34AM
Hi David,

On Sat, Dec 03, 2022 at 10:07:51AM -0800, David Karr wrote:
>
> I was told that v1.22 of nginx will look for a CLIENT_MAX_BODY_SIZE
> environment variable to configure the "client_max_body_size" configuration
> property. I'm having trouble finding a clear statement of what the
> required syntax is for that.

That's not correct, to make sure how it works please go ahead and take a
look on the env directive [1].

> The documentation for the configuration property, at
> http://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size
> , simply uses "m" as an example, but it doesn't actually say anything about
> what the required syntax is. Does it only allow "m", or does it check for
> "M" or other variations?

Please take a look on the following document [2].

References
1. https://nginx.org/en/docs/ngx_core_module.html#env
2. https://nginx.org/en/docs/syntax.html

Hope that helps.

--
Sergey A. Osokin
_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org
Subject Author Posted

Trying to confirm syntax of CLIENT_MAX_BODY_SIZE environment variable

David Karr December 03, 2022 01:10PM

Re: Trying to confirm syntax of CLIENT_MAX_BODY_SIZE environment variable

Sergey A. Osokin December 04, 2022 11:34AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 189
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready