http 접속시 https 로 접속되게하는 방법 > 웹프로그램

본문 바로가기

웹프로그램

[PHP] http 접속시 https 로 접속되게하는 방법

profile_image
최고관리자
2025-06-02 10:08 16 0

본문

RewriteEngine On

RewriteCond %{HTTPS} off

RewriteCond %{HTTP:X-Forwarded-Proto} !https

RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

댓글목록0

등록된 댓글이 없습니다.

댓글쓰기

적용하기
자동등록방지 숫자를 순서대로 입력하세요.
게시판 전체검색
상담신청