diff --git a/deploy/nginx/itms.wise.ai.kr.conf b/deploy/nginx/itms.wise.ai.kr.conf new file mode 100644 index 00000000..97405514 --- /dev/null +++ b/deploy/nginx/itms.wise.ai.kr.conf @@ -0,0 +1,31 @@ +# 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; + } +} diff --git a/deploy/nginx/itms.zioinfo.co.kr.conf b/deploy/nginx/itms.zioinfo.co.kr.conf index 5d14d339..2080e6e7 100644 --- a/deploy/nginx/itms.zioinfo.co.kr.conf +++ b/deploy/nginx/itms.zioinfo.co.kr.conf @@ -24,6 +24,12 @@ server { client_max_body_size 50m; + # 통합 메신저 앱 QR 다운로드 페이지(읽기전용, 중앙 ITSM APK 저장소 재사용) + location = /mobile-app { + alias /opt/itms/static/mobile-app.html; + default_type text/html; + } + # 웹 UI (front :11020) — 브라우저 진입점 location / { proxy_pass http://127.0.0.1:11020; diff --git a/deploy/static/mobile-app.html b/deploy/static/mobile-app.html new file mode 100644 index 00000000..515de7e3 --- /dev/null +++ b/deploy/static/mobile-app.html @@ -0,0 +1,62 @@ + + +
+ + +