Created
August 25, 2020 15:48
-
-
Save joanna-s/87fff6d368101d0149d8d286ca11dcde to your computer and use it in GitHub Desktop.
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
## If URL is SSL challenge (i.e. /.well-known/acme-challenge/[unique-id]) - relating to SSL renewal which was failing because the challenge URL was redirecting to skiarmadillo.com | |
RewriteEngine On | |
RewriteCond %{REQUEST_URI} !^/.well-known/(.*) [NC] | |
RewriteRule (.*) https://www.domain.co.uk/ [L,R=301] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment