From 720c5171ded7d4e5ab8db541ea632a68b3a0626c Mon Sep 17 00:00:00 2001 From: Jeremy Lin Date: Fri, 5 Mar 2021 18:26:15 -0800 Subject: [PATCH] remove non-critical headers from Caddy 2.x example to keep it more in line with the other examples --- Proxy-examples.md | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Proxy-examples.md b/Proxy-examples.md index d57b296..dbc71d4 100644 --- a/Proxy-examples.md +++ b/Proxy-examples.md @@ -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 :3012