allow images up to 12M (fix #9)

This commit is contained in:
nobohan 2021-07-05 11:40:13 +02:00
parent 4c9fa86318
commit 3c11212676

View File

@ -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