mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-08-03 13:03:44 +03:00
Path matcher on header is unnecessary, omitting results in the same effect
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user