Skip to content

Instantly share code, notes, and snippets.

@Chrissi2812
Created December 20, 2016 13:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Chrissi2812/273434ab9b726e0469b7b6e83cdc228f to your computer and use it in GitHub Desktop.
Save Chrissi2812/273434ab9b726e0469b7b6e83cdc228f to your computer and use it in GitHub Desktop.
HTTPS for Let's Encrpty
RewriteCond %{HTTPS} !on
RewriteCond %{REQUEST_URI} !^/.well-known/
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment