Files
nginx-portal/k8s/08-ingress.yaml
qorgh529 54877f8e96 feat: 허브 홈페이지 구축 및 URL 구조 개편 (2026-05)
- hub/ 신규 추가: cyanburu.com/ 허브 홈페이지 (에디토리얼+사이버펑크 디자인)
- hub/index.html: /portal/api/homepage/cards 동적 카드 로딩
- k8s/00-hub.yaml: hub 네임스페이스 + Deployment + Service
- k8s/13-ingress-hub.yaml: cyanburu.com/ → hub 라우팅
- k8s/08-ingress.yaml: cyanburu.com/ → cyanburu.com/portal 경로 변경
- backend/main.py: homepage_cards CRUD API 추가, root_path=/portal 설정
- frontend/index.html: API 경로 /portal/api 수정, 홈 카드 관리 탭 추가
- README.md: 2026-05 변경 이력 추가
2026-06-10 18:18:53 +09:00

32 lines
918 B
YAML
Executable File

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: web-portal-ingress
namespace: web-portal
annotations:
nginx.ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/rewrite-target: /$2
nginx.ingress.kubernetes.io/proxy-body-size: "10m"
# Rate limiting (기존 유지)
nginx.ingress.kubernetes.io/limit-rps: "10"
cert-manager.io/cluster-issuer: letsencrypt-prod
spec:
ingressClassName: nginx
tls:
- hosts:
- cyanburu.com
secretName: cyanburu-tls
rules:
- host: cyanburu.com
http:
paths:
# /portal 경로 → web-portal 프론트엔드
# rewrite-target: /portal/foo → /foo 로 strip
- path: /portal(/|$)(.*)
pathType: ImplementationSpecific
backend:
service:
name: frontend-service
port:
number: 80