feat : 자료실 로컬 파일 업로드 (진행률 표시), nginx 업로드 용량 5GB
SpecialSource Frontend (React) CD / deploy (push) Successful in 14s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
headporterandClaude Opus 5.5 committed 2026-11-30 11:14:05 +09:00
1 parent e5ccf1a9e4
commit de5ea95de1
4 files changed
+69 -14

No files matched your search

+6
View File
@@ -5,6 +5,12 @@ server {
# 같은 도메인의 /api 요청을 NAS 백엔드(18080)로 전달 → 브라우저는 CORS 없이 호출
location /api/ {
# 자료실 파일 업로드: nginx 기본 1MB 제한 → 백엔드(multipart 5GB)와 맞춤
# 버퍼링 끔: 큰 파일을 nginx 디스크에 다 받은 뒤 넘기지 않고 바로 백엔드로 흘려보냄
client_max_body_size 5g;
proxy_request_buffering off;
proxy_read_timeout 600s;
proxy_send_timeout 600s;
proxy_pass http://192.168.0.215:18080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;