즐겨찾기·홀드 미리보기·페이지 도움말·3개국어 번역을 추가하고, 덱 저장 시 썸네일을 1200px로 통일하며 Nginx/API 업로드 제한을 상향했다. Co-authored-by: Cursor <cursoragent@cursor.com>
21 lines
663 B
Plaintext
21 lines
663 B
Plaintext
# /d/:shareCode → cardList 리다이렉트
|
|
# 리버스 프록시(Nginx, Caddy, Traefik)에 아래 규칙을 추가하세요.
|
|
|
|
location ~ ^/d/([A-Za-z0-9]+)$ {
|
|
return 302 /cardList.html?d=$1;
|
|
}
|
|
|
|
# API 프록시 (정적 사이트와 함께 사용)
|
|
# 덱 저장 시 미리보기 PNG(base64) 포함 — 2m 이하면 413 발생
|
|
client_max_body_size 25m;
|
|
|
|
location /api/ {
|
|
proxy_pass http://uadeck-api:3000;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
client_max_body_size 25m;
|
|
}
|