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
Post a Comment