exclude .well-known folder to auto acme

pull/128/head
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 # # LoadModule rewrite_module modules/mod_rewrite.so
# # AllowOverride All # # AllowOverride All
RewriteEngine On RewriteEngine On
# RewriteCond $1 !^(.well-known)
RewriteRule ^(.*) index.php?/$1 [L] RewriteRule ^(.*) index.php?/$1 [L]
###----------------------------------- ###-----------------------------------
# # nginx ### nginx
# rewrite ^(.*) /index.php?/$1 last; # #################rewrite ^(.*) /index.php?/$1 last;
# rewrite ^/(?!.well-known)(.*)$ /index.php?/$1 last;
# #
# # caddy ### caddy
# rewrite { # rewrite {
# to index.php?/$1 # to index.php?/$1
# } # }