문자온 DB이관 점검중 페이지로redirect

This commit is contained in:
leejunho 2025-06-20 16:40:45 +09:00
parent dff93fe9ad
commit be6ad1913c
2 changed files with 22 additions and 3 deletions

View File

@ -12,6 +12,23 @@
<script src="/publish/js/main.js"></script>
<script src="/publish/js/swiper.min.js"></script>
<script type="text/javascript">
<%
String clientIp = request.getHeader("X-Forwarded-For");
if (clientIp == null || clientIp.isEmpty() || "unknown".equalsIgnoreCase(clientIp)) {
clientIp = request.getRemoteAddr();
}
log("clientIp :: " + clientIp); // JSP 내장 메서드
if (!"119.193.215.98".equals(clientIp)) {
response.sendRedirect("http://localhost/publish/maintenance.html");
return;
}
%>
</script>
<script type="text/javascript">
let cookieCache = null; // 쿠키 데이터를 캐시할 변수

View File

@ -19,9 +19,11 @@
<body>
<div class="textbox">
<h1>문자온 시스템 점검중입니다.</h1>
<h3>· 점검일시 : <strong>2025년 4월 28일(월) 08:30 ~ 08:35</strong> (약 5분간)</h3>
<p>현재 홈페이지 인증서 교체 작업을 위한 시스템 점검중에 있습니다.</p>
<p><span>(기)예약 설정 건은 정상 발송되며, <br>작업 이전 '발송대기'건은 작업 완료 후 발송 시도됩니다.</span></p>
<h3>· 점검일시 : <strong>2025년 6월 21일(토) 14:00 ~ 6월 23일(월) 08:00</strong> </h3>
<p>현재 홈페이지 시스템 백업 작업 중에 있습니다.</p>
<p><span>중단 시작 5분 전부터 신규 발송이 제한됩니다.</span></p>
<p><span>작업 이전"발송대기" 건은 작업 완료 후 발송시도 합니다.</span></p>
<p><span>백업 작업 조기 완료 시 즉시 서비스 재개 예정입니다.</span></p>
<p>항상 더 나은 서비스 제공을 위해 노력하겠습니다.<br>
감사합니다.</p>
</div>