itsm_ysm/deploy/nginx/itms.wise.ai.kr.conf
itms-merge-dev 4fae61105c ci(itms): 운영 nginx vhost(itms.wise.ai.kr) + 통합앱 QR 페이지(/mobile-app) 아티팩트
- 운영 리버스 프록시 템플릿(RHEL conf.d, certbot 개별 발급 안내)
- dev/prod 공용 /mobile-app QR 페이지(중앙 ITSM APK 저장소 읽기전용 재사용)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-19 15:50:21 +09:00

32 lines
1.3 KiB
Plaintext

# itms.wise.ai.kr — ITMS 운영 리버스 프록시 (RHEL /etc/nginx/conf.d/ 배치)
# 운영서버 211.37.173.197(utimsurpai.cafe24.com). 브라우저 진입점 = front(:11020).
#
# 배치 절차:
# 1) 이 파일을 /etc/nginx/conf.d/itms.wise.ai.kr.conf 로 배치 (HTTP-only 상태)
# 2) front(:11020) 기동 확인
# 3) certbot --nginx -d itms.wise.ai.kr → 443 블록·리다이렉트 자동 주입
# 4) systemctl reload nginx
# ※ wise.ai.kr 인증서는 와일드카드 아님 → itms 서브도메인 개별 발급 필요(확인 완료).
# ※ 헬스체크는 Host 헤더 필수: curl -H "Host: itms.wise.ai.kr" http://127.0.0.1:11020/
server {
listen 80;
server_name itms.wise.ai.kr;
client_max_body_size 50m;
# 통합 메신저 앱 QR 다운로드 페이지(읽기전용, 중앙 ITSM APK 저장소 재사용)
location = /mobile-app {
alias /opt/itms/static/mobile-app.html;
default_type text/html;
}
location / {
proxy_pass http://127.0.0.1:11020;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 120s;
}
}