diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7c3d668..7ef1ef6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -74,6 +74,7 @@ jobs: cp build/libs/*.jar deploy/application.jar cp Procfile deploy/Procfile cp -r .ebextensions-dev deploy/.ebextensions + cp -r .platform deploy/.platform cd deploy && zip -r deploy.zip . - name: Beanstalk Deploy diff --git a/.platform/nginx.conf b/.platform/nginx.conf index ef38ca8..36a524e 100644 --- a/.platform/nginx.conf +++ b/.platform/nginx.conf @@ -14,7 +14,7 @@ http { include /etc/nginx/mime.types; default_type application/octet-stream; - client_max_body_size 20M; + client_max_body_size 100M; log_format main '$remote_addr - $remote_user [$time_local] "$request" ' diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 03f4a50..1caf695 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -7,7 +7,7 @@ spring: servlet: multipart: - max-file-size: 20MB - max-request-size: 20MB + max-file-size: 100MB + max-request-size: 100MB