"아파치 http → https 리다이렉트 설정"의 두 판 사이의 차이

 
(사용자 2명의 중간 판 7개는 보이지 않습니다)
1번째 줄: 1번째 줄:
==개요==
==개요==
;아파치 리다이렉트 설정
;아파치 http → https 리다이렉트 설정


*302
<source lang='aconf'>
<source lang='aconf'>
<VirtualHost *:80>
<VirtualHost *:80>
Redirect / https://도메인/경로
Redirect 301 / https://example.com
<VirtualHost>
</source>
*301 ★
<source lang='aconf'>
<VirtualHost *:80>
Redirect 301 / https://도메인/경로
</VirtualHost>
</VirtualHost>
</source>
</source>
:→ http://example.com 으로 접속하면 https://example.com 로 보냄


==같이 보기==
==같이 보기==
*[[VirtualHost]]
*[[아파치 도메인 넘겨주기]]
*[[HTTPS]]


==참고 자료==
==참고==
* https://www.digitalocean.com/community/tutorials/how-to-create-temporary-and-permanent-redirects-with-apache-and-nginx
* https://www.digitalocean.com/community/tutorials/how-to-create-temporary-and-permanent-redirects-with-apache-and-nginx


[[분류: 아파치]]
[[분류: 아파치]]
[[분류: HTTP]]
[[분류: HTTPS]]

2018년 5월 23일 (수) 11:43 기준 최신판

1 개요[ | ]

아파치 http → https 리다이렉트 설정
<VirtualHost *:80>
	Redirect 301 / https://example.com
</VirtualHost>
http://example.com 으로 접속하면 https://example.com 로 보냄

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}