nginx - client_max_body_size for images in location -


i want increase max size of attaching images posting in media directory, using such instruction getting 413 request entity large

location ~* .+/media/.+\.(jpeg|gif|png|jpg) {         client_max_body_size 20m;         } 

what mistake?

such instructions as:

location ~* .+/media/.+ {         client_max_body_size 20m;         } 

and:

 location ~* .+\.(jpeg|gif|png|jpg)$ {         client_max_body_size 20m;         } 

don't working too


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -