mirror of
https://github.com/humhub/humhub.git
synced 2025-03-14 20:19:47 +01:00
Merge pull request #1995 from shyper-ideler/patch-1
added let's encrypt challenge as an exception in RedirectMatch
This commit is contained in:
commit
e725fd4a5a
@ -1,7 +1,7 @@
|
||||
RewriteEngine on
|
||||
|
||||
# prevent httpd from serving dotfiles (.htaccess, .svn, .git, etc.)
|
||||
RedirectMatch 403 /\..*$
|
||||
# prevent httpd from serving dotfiles (.htaccess, .svn, .git, etc.) - except let's encrypt challenge
|
||||
RedirectMatch 403 ^/?\.(?!/well-known/acme-challenge/[\w-]{43}$)
|
||||
|
||||
# RewriteBase is required in some hosting environments (Amazon EC2, ...)
|
||||
#RewriteBase /
|
||||
|
Loading…
x
Reference in New Issue
Block a user