Change max upload size setting (#410)

---------

Co-authored-by: Gabriele Capitani <gabrielecapitani2005@gmail.com>
This commit is contained in:
Andrea Nassi
2023-09-10 02:01:44 +02:00
committed by GitHub
parent eae6f58450
commit 0e65688166
2 changed files with 5 additions and 1 deletions

View File

@@ -18,6 +18,8 @@ server {
listen 80;
server_name ${DOMAIN};
client_max_body_size 20M; # Maximum upload size
location ~ ^/api(.*)$ {
rewrite ^/api(/.*)$ $1 break;

View File

@@ -18,6 +18,8 @@ server {
listen 80;
server_name ${DOMAIN};
client_max_body_size 20M; # Maximum upload size
location ~ ^/api(.*)$ {
rewrite ^/api(/.*)$ $1 break;