Path matching in Caddy V2 is now exact match by default

Joker_
2020-05-26 03:51:44 +08:00
parent 0e4b61d7b0
commit c45ba14b78

@@ -56,7 +56,7 @@ Caddy 2 can also automatically enable HTTPS in some circumstances, check the [do
# if you encounter issues.
encode gzip
header / {
header /* {
# Enable cross-site filter (XSS) and tell browser to block detected attacks
X-XSS-Protection "1; mode=block"
# Disallow the site to be rendered within a frame (clickjacking protection)