feat: 검색 노출 — 빌드 때 /gak·/sky·/week·/season 페이지별 HTML(제목·설명·canonical·소개 글, 각 51개 목록) 생성, nginx 가 페이지별 HTML 먼저

This commit is contained in:
minaChoi committed 2026-10-13 10:34:56 +09:00
1 parent 2621db0450
commit 39f11d1327
5 files changed
+275 -6

No files matched your search

+2 -2
View File
@@ -31,9 +31,9 @@ server {
proxy_set_header X-Forwarded-Proto $scheme;
}
# SPA: /indices, /sky 같은 주소로 새로고침해도 index.html을 돌려준다. 폴더는 안 찾는다 (/season 이 이미지 폴더 public/season 과 겹쳐 403)
# SPA: /gak 처럼 빌드 때 만든 페이지별 HTML(gak.html)이 있으면 그것을, 없으면 index.html. 폴더는 안 찾는다 (/season 이 이미지 폴더 public/season 과 겹쳐 403)
location / {
add_header Cache-Control "no-cache";
try_files $uri /index.html;
try_files $uri $uri.html /index.html;
}
}