mirror of
https://github.com/humhub/humhub.git
synced 2025-04-19 14:42:08 +02:00
added let's encrypt challenge as an exception in RedirectMatch
This commit is contained in:
parent
1bb209791b
commit
0007cb6280
@ -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