exclude .well-known folder to auto acme

This commit is contained in:
qkqpttgf 2020-08-18 17:10:56 +08:00 committed by GitHub
parent 3a95027a06
commit 93b713b508
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -2,13 +2,15 @@
# # LoadModule rewrite_module modules/mod_rewrite.so
# # AllowOverride All
RewriteEngine On
# RewriteCond $1 !^(.well-known)
RewriteRule ^(.*) index.php?/$1 [L]
###-----------------------------------
# # nginx
# rewrite ^(.*) /index.php?/$1 last;
### nginx
# #################rewrite ^(.*) /index.php?/$1 last;
# rewrite ^/(?!.well-known)(.*)$ /index.php?/$1 last;
#
# # caddy
### caddy
# rewrite {
# to index.php?/$1
# }