Advertisement
Guest User

Untitled

a guest
Apr 24th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. # ensure https
  2. RewriteCond %{HTTP:X-Forwarded-Proto} !https
  3. RewriteCond %{HTTPS} off
  4. RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement