allow images up to 12M (fix #9)
This commit is contained in:
parent
4c9fa86318
commit
3c11212676
@ -2,6 +2,7 @@ server {
|
|||||||
listen 80;
|
listen 80;
|
||||||
listen [::]:80;
|
listen [::]:80;
|
||||||
server_name localhost;
|
server_name localhost;
|
||||||
|
client_max_body_size 12M;
|
||||||
|
|
||||||
#charset koi8-r;
|
#charset koi8-r;
|
||||||
#access_log /var/log/nginx/host.access.log main;
|
#access_log /var/log/nginx/host.access.log main;
|
||||||
@ -27,7 +28,7 @@ server {
|
|||||||
location @media1 {
|
location @media1 {
|
||||||
rewrite ^/api/media/(.*)$ /api/media1/$1;
|
rewrite ^/api/media/(.*)$ /api/media1/$1;
|
||||||
}
|
}
|
||||||
|
|
||||||
#error_page 404 /404.html;
|
#error_page 404 /404.html;
|
||||||
|
|
||||||
# redirect server error pages to the static page /50x.html
|
# redirect server error pages to the static page /50x.html
|
||||||
|
Loading…
Reference in New Issue
Block a user