allow images up to 12M (fix #9)

main
nobohan 1 year ago
parent 4c9fa86318
commit 3c11212676
  1. 3
      nginx/default.conf

@ -2,6 +2,7 @@ server {
listen 80;
listen [::]:80;
server_name localhost;
client_max_body_size 12M;
#charset koi8-r;
#access_log /var/log/nginx/host.access.log main;
@ -27,7 +28,7 @@ server {
location @media1 {
rewrite ^/api/media/(.*)$ /api/media1/$1;
}
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html

Loading…
Cancel
Save