Created
May 23, 2017 05:14
-
-
Save whitehat101/ed4ec2abf088b59d05cd28424f3a4349 to your computer and use it in GitHub Desktop.
Let's Encrypt htaccess 301
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RedirectMatch 301 ^(?!/\.well-known/acme-challenge/).* https://mydomain.example$0 | |
Alias /.well-known/acme-challenge /var/www/letsencrypt/.well-known/acme-challenge | |
Alias /.well-known/acme-challenge /var/www/letsencrypt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment