From 4fae61105cfa23b6aad2bee1b68be069468d1484 Mon Sep 17 00:00:00 2001 From: itms-merge-dev Date: Sun, 19 Jul 2026 15:50:21 +0900 Subject: [PATCH] =?UTF-8?q?ci(itms):=20=EC=9A=B4=EC=98=81=20nginx=20vhost(?= =?UTF-8?q?itms.wise.ai.kr)=20+=20=ED=86=B5=ED=95=A9=EC=95=B1=20QR=20?= =?UTF-8?q?=ED=8E=98=EC=9D=B4=EC=A7=80(/mobile-app)=20=EC=95=84=ED=8B=B0?= =?UTF-8?q?=ED=8C=A9=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 운영 리버스 프록시 템플릿(RHEL conf.d, certbot 개별 발급 안내) - dev/prod 공용 /mobile-app QR 페이지(중앙 ITSM APK 저장소 읽기전용 재사용) Co-Authored-By: Claude Fable 5 --- deploy/nginx/itms.wise.ai.kr.conf | 31 ++++++++++++++ deploy/nginx/itms.zioinfo.co.kr.conf | 6 +++ deploy/static/mobile-app.html | 62 ++++++++++++++++++++++++++++ 3 files changed, 99 insertions(+) create mode 100644 deploy/nginx/itms.wise.ai.kr.conf create mode 100644 deploy/static/mobile-app.html 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 @@ + + + + + +GUARDiA Messenger 앱 다운로드 — ITMS + + + +
+

모바일 앱 다운로드

+
GUARDiA Messenger
+
불러오는 중…
+
+ +
+ Android 기기에서 QR을 스캔하거나 버튼으로 APK를 내려받아 설치하세요.
+ 본 페이지는 GUARDiA 중앙 앱 저장소(ITSM)의 최신 배포를 읽기 전용으로 표시합니다. +
+
+ + +