remove non-critical headers from Caddy 2.x example to keep it more in line with the other examples

Jeremy Lin
2021-03-05 18:26:15 -08:00
parent 3f12232a7b
commit 720c5171de

@@ -66,19 +66,6 @@ If you prefer, you can also directly specify a value instead of substituting an
# if you encounter issues.
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
reverse_proxy /notifications/hub <SERVER>:3012