diff --git a/Api/src/main/resources/application.yml b/Api/src/main/resources/application.yml index 4daf8cd..835d182 100644 --- a/Api/src/main/resources/application.yml +++ b/Api/src/main/resources/application.yml @@ -14,6 +14,7 @@ spring: matching-strategy: ant_path_matcher servlet: multipart: + enabled: true max-file-size: 5MB max-request-size: 5MB diff --git a/nginx/default.conf b/nginx/default.conf index 2133c3d..a861992 100644 --- a/nginx/default.conf +++ b/nginx/default.conf @@ -8,7 +8,7 @@ server { error_log /var/log/nginx/error.log; http { - client_max_body_size 5M; + client_max_body_size 30M; } location /api {