Skip to content

Commit

Permalink
fix: 이미지 용량 문제 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
AlmondBreez3 committed Feb 3, 2024
1 parent cc83ac5 commit 539f463
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Api/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ spring:
matching-strategy: ant_path_matcher
servlet:
multipart:
enabled: true
max-file-size: 5MB
max-request-size: 5MB

Expand Down
2 changes: 1 addition & 1 deletion nginx/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 539f463

Please sign in to comment.