I need to have a limit of max body size using - client_max_body_size property (over nginx.conf) on some url or even globally over my application.
I found this property documented over nginx site:
Syntax: client_max_body_size size; Default: client_max_body_size 1m; Context: http, server, location Sets the maximum allowed size of the client request body, specified in the “Content-Length” request header field. If the size ina request exceeds the configured value, the 413 (Request Entity Too Large) error is returned to the client. Please be aware that browsers cannot correctly display this error. Setting size to 0 disables checking of client request body size.
I need to make this property to a certain part of my app (not globally), so I want to set it to a specified url such as http://localhost:8088/x/#/y (# is mandatory)
What is the syntax for this certain url? Is it possible?