henergy:architecture:gateway-nginx
Differences
This shows you the differences between two versions of the page.
| henergy:architecture:gateway-nginx [2026/02/21 01:43] – 192.168.0.1 | henergy:architecture:gateway-nginx [2026/02/21 01:47] (current) – 192.168.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Gateway(Nginx) 라우팅 구조 ====== | ====== Gateway(Nginx) 라우팅 구조 ====== | ||
| - | ===== 구성 ===== | + | ===== 파일 |
| - | * 운영: WEB1 / WEB2 이중 운영 | + | * 라우팅 |
| - | * 핵심 | + | |
| * '' | * '' | ||
| * '' | * '' | ||
| * '' | * '' | ||
| - | * 공통 정책 | + | * 공통정책 |
| * '' | * '' | ||
| * '' | * '' | ||
| * '' | * '' | ||
| - | ===== 라우팅 | + | ===== 라우팅 |
| - | | + | < |
| - | - 공통 SSL/Proxy 정책 재사용 | + | Host Header 수신 |
| - | - 설정 변경은 WEB1/WEB2 동시 반영 + diff 검증 필수 | + | -> server_name 매칭 |
| + | -> upstream/proxy_pass 분기 | ||
| + | -> backend health 확인 | ||
| + | </code> | ||
| - | ===== 점검 포인트 ===== | + | ===== 장애 시 우선 확인 ===== |
| - | - 신규 도메인 추가 시 proxy 대상/health 확인 | + | - 404: server_name 미매칭/라우팅 누락 |
| - | - 404/502 발생 시 DNS → Nginx → Backend 순서로 추적 | + | - 502/504: upstream down, 포트/ |
henergy/architecture/gateway-nginx.1771638194.txt.gz · Last modified: by 192.168.0.1
