Skip to content

Commit 697b0bc

Browse files
authored
[chore] 파일 업로드 용량 제한 100MB로 설정 (#372)
* [chore] 파일 업로드 용량 제한 100MB로 설정 * work
1 parent 8d35d4e commit 697b0bc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/main/resources/application.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
server:
22
port: 8080
33
forward-headers-strategy: native
4+
# Post body 크기 100MB 설정
5+
tomcat:
6+
max-http-form-post-size: 100MB
47
spring:
58
# redis가 개발/테스트 환경에서 작동하지 않도록 설정
69
autoconfigure:
@@ -99,6 +102,11 @@ spring:
99102
timeout: 5000
100103
writetimeout: 5000
101104
default-encoding: UTF-8
105+
# 파일 업로드 용량 설정
106+
servlet:
107+
multipart:
108+
max-file-size: 100MB
109+
max-request-size: 100MB
102110

103111
# Frontend URL (OAuth2 리다이렉트용, UTM 링크 생성용)
104112
app:

0 commit comments

Comments
 (0)