From 3c11212676d60303b8039a024b66a56b3465f20b Mon Sep 17 00:00:00 2001 From: nobohan Date: Mon, 5 Jul 2021 11:40:13 +0200 Subject: [PATCH] allow images up to 12M (fix #9) --- nginx/default.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nginx/default.conf b/nginx/default.conf index ebae7fa..83996c5 100644 --- a/nginx/default.conf +++ b/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