문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
wiki:web:apache [2020/10/31 11:59] dhan |
wiki:web:apache [2023/01/30 19:33] (현재) dhan |
||
---|---|---|---|
줄 8: | 줄 8: | ||
===== httpd.conf ===== | ===== httpd.conf ===== | ||
- | System Administrator……Current: | + | http 로 들어올 경우 https 로 강제 전환(force redirect) |
- | http 로 들어올 경우 https 로 강제 전환(force redirect) | + | 아파치 모듈중 mod_rewrite 를 사용하면 가능하다. |
- | 아파치 모듈중 mod_rewrite 를 사용하면 가능하다. | + | |
<code xml> | <code xml> | ||
+ | < | ||
RewriteEngine On | RewriteEngine On | ||
RewriteCond %{HTTPS} !=on | RewriteCond %{HTTPS} !=on | ||
RewriteRule ^(.*)$ https:// | RewriteRule ^(.*)$ https:// | ||
+ | </ | ||
</ | </ | ||
[[https:// | [[https:// | ||
+ | [[https:// | ||
+ | |||
+ | ===== Case Study ===== | ||
+ | * [[https:// | ||
+ | <code bash> | ||
+ | 아래의 파일을 수정해야 합니다. | ||
+ | |||
+ | $> ls / | ||
+ | </ | ||
+ | |||
+ | ===== SSL(https) 적용 가이드 ===== | ||
+ | |||
+ | * [[wiki: | ||
+ | // | ||
===== Ref ===== | ===== Ref ===== | ||
줄 24: | 줄 39: | ||
* [[https:// | * [[https:// | ||
- | {{tag> | + | {{tag> |