Advertisement
Infra_HDC

Apache2 HTTPS Redir

Aug 16th, 2019
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. (check this)
  2. RewriteEngine On
  3. RewriteCond %{HTTPS} !=on
  4. RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
  5. (/check this)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement