add Caddy2 rule
This commit is contained in:
@@ -14,11 +14,13 @@ RewriteRule ^(.*) index.php?/$1 [L]
|
|||||||
# to index.php?/$1
|
# to index.php?/$1
|
||||||
# }
|
# }
|
||||||
#
|
#
|
||||||
### caddy2 json
|
|
||||||
# "handler": "rewrite",
|
|
||||||
# "uri": "index.php?{http.request.uri.query}"
|
|
||||||
#
|
|
||||||
### caddy2 Caddyfile
|
### caddy2 Caddyfile
|
||||||
# rewrite * index.php?{query}
|
# @try_files {
|
||||||
|
# not path /.well-known/*
|
||||||
|
# file {
|
||||||
|
# try_files index.php
|
||||||
|
# }
|
||||||
|
# }
|
||||||
|
# rewrite @try_files {http.matchers.file.relative}
|
||||||
#
|
#
|
||||||
###-----------------------------------
|
###-----------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user