mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-24 10:49:20 -07:00
remove non-critical headers from Caddy 2.x example to keep it more in line with the other examples
@@ -66,19 +66,6 @@ If you prefer, you can also directly specify a value instead of substituting an
|
|||||||
# if you encounter issues.
|
# if you encounter issues.
|
||||||
encode gzip
|
encode gzip
|
||||||
|
|
||||||
header / {
|
|
||||||
# Enable HTTP Strict Transport Security (HSTS)
|
|
||||||
Strict-Transport-Security "max-age=31536000;"
|
|
||||||
# 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)
|
|
||||||
X-Frame-Options "DENY"
|
|
||||||
# Prevent search engines from indexing (optional)
|
|
||||||
X-Robots-Tag "none"
|
|
||||||
# Server name removing
|
|
||||||
-Server
|
|
||||||
}
|
|
||||||
|
|
||||||
# Notifications redirected to the websockets server
|
# Notifications redirected to the websockets server
|
||||||
reverse_proxy /notifications/hub <SERVER>:3012
|
reverse_proxy /notifications/hub <SERVER>:3012
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user