feat(gateway): 통합 대시보드 네비게이션 허브 추가

로그인 후 다른 시스템으로의 진입점이 없던 문제 해결.
dashboard.html에 로그인 폼 + 네비게이션 허브를 통합하고,
/, /login을 /dashboard로 리다이렉트.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Hyungi Ahn
2026-03-13 16:51:05 +09:00
parent 4b68431d2d
commit baf68ca065
3 changed files with 628 additions and 5 deletions

View File

@@ -7,11 +7,21 @@ server {
# ===== Gateway 자체 페이지 (포털, 로그인) =====
root /usr/share/nginx/html;
# 로그인 페이지 (캐시 금지 — SSO 쿠키 재설정 로직 항상 최신 반영)
location = /login {
# 대시보드 (로그인 + 네비게이션 허브 통합)
location = /dashboard {
add_header Cache-Control "no-store, no-cache, must-revalidate";
add_header Pragma "no-cache";
try_files /login.html =404;
try_files /dashboard.html =404;
}
# 루트 → 대시보드 리다이렉트
location = / {
return 302 /dashboard$is_args$args;
}
# 로그인 → 대시보드 리다이렉트
location = /login {
return 302 /dashboard$is_args$args;
}
# 공유 JS/CSS (nav-header 등)