Skip to content

Commit

Permalink
Added: Support for Let's Encrypt
Browse files Browse the repository at this point in the history
Exclude .well-known directory from redirection
  • Loading branch information
Martin Döring committed May 8, 2018
1 parent 3a676d4 commit ba55faf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .htaccess
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<IfModule mod_rewrite.c>
RewriteEngine On

# Let Admin go through
# Let Admin and Let's Encrypt go through
RewriteRule ^admin/ - [L]
RewriteRule ^\.well-known/ - [L]

# If a request tries to access /articles/ directly, redirect it to its canonical version
RewriteCond %{THE_REQUEST} articles/
Expand Down

0 comments on commit ba55faf

Please sign in to comment.