mirror of
https://github.com/headporter81/ss-front-react.git
synced 2026-12-06 07:41:11 +09:00
feat : 자료실 업로드를 50MB 조각으로 나눠 전송 (조각별 3회 재시도), 학습노트 13 추가
SpecialSource Frontend (React) CD / deploy (push) Successful in 15s
SpecialSource Frontend (React) CD / deploy (push) Successful in 15s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
de5ea95de1
commit
8c63189028
3 files changed
+67
-12
No files matched your search
+3
-3
@@ -5,9 +5,9 @@ server {
|
||||
|
||||
# 같은 도메인의 /api 요청을 NAS 백엔드(18080)로 전달 → 브라우저는 CORS 없이 호출
|
||||
location /api/ {
|
||||
# 자료실 파일 업로드: nginx 기본 1MB 제한 → 백엔드(multipart 5GB)와 맞춤
|
||||
# 버퍼링 끔: 큰 파일을 nginx 디스크에 다 받은 뒤 넘기지 않고 바로 백엔드로 흘려보냄
|
||||
client_max_body_size 5g;
|
||||
# 자료실 파일 업로드: nginx 기본 1MB 제한 → 업로드 조각(50MB)이 지나가도록 100MB
|
||||
# 버퍼링 끔: 조각을 nginx 디스크에 다 받은 뒤 넘기지 않고 바로 백엔드로 흘려보냄
|
||||
client_max_body_size 100m;
|
||||
proxy_request_buffering off;
|
||||
proxy_read_timeout 600s;
|
||||
proxy_send_timeout 600s;
|
||||
|
||||
Reference in new issue
Block a user