I want to increase max size of attaching images for POSTing in my media directory, but using such instruction i getting 413 Request Entity Too Large
location ~* .+/media/.+\.(jpeg|gif|png|jpg) {
client_max_body_size 20M;
}
What is my 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