feat(tkds): 독립 대시보드 서비스 분리 (tkds.technicalkorea.net)
대시보드를 gateway(tkfb)에서 분리하여 독립 서비스 tkds로 이동. - tkds/web: nginx + dashboard.html 신규 서비스 (port 30780) - gateway: /login 복원, /dashboard → tkds 301 리다이렉트 - 전체 시스템 getLoginUrl() → tkds.technicalkorea.net/dashboard로 변경 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -7,21 +7,16 @@ server {
|
||||
# ===== Gateway 자체 페이지 (포털, 로그인) =====
|
||||
root /usr/share/nginx/html;
|
||||
|
||||
# 대시보드 (로그인 + 네비게이션 허브 통합)
|
||||
location = /dashboard {
|
||||
# 로그인 페이지
|
||||
location = /login {
|
||||
add_header Cache-Control "no-store, no-cache, must-revalidate";
|
||||
add_header Pragma "no-cache";
|
||||
try_files /dashboard.html =404;
|
||||
try_files /login.html =404;
|
||||
}
|
||||
|
||||
# 루트 → 대시보드 리다이렉트
|
||||
location = / {
|
||||
return 302 /dashboard$is_args$args;
|
||||
}
|
||||
|
||||
# 로그인 → 대시보드 리다이렉트
|
||||
location = /login {
|
||||
return 302 /dashboard$is_args$args;
|
||||
# 대시보드 → tkds로 리다이렉트 (북마크 깨짐 방지)
|
||||
location = /dashboard {
|
||||
return 301 $scheme://tkds.technicalkorea.net/dashboard;
|
||||
}
|
||||
|
||||
# 공유 JS/CSS (nav-header 등)
|
||||
|
||||
Reference in New Issue
Block a user