summaryrefslogtreecommitdiff
path: root/internal/middlewares/const.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/middlewares/const.go')
-rw-r--r--internal/middlewares/const.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/middlewares/const.go b/internal/middlewares/const.go
index 6c3361b49..fd6ce084c 100644
--- a/internal/middlewares/const.go
+++ b/internal/middlewares/const.go
@@ -59,6 +59,7 @@ var (
headerValueZero = []byte("0")
headerValueCSPNone = []byte("default-src 'none'")
headerValueCSPNoneFormPost = []byte("default-src 'none'; script-src 'sha256-skflBqA90WuHvoczvimLdj49ExKdizFjX2Itd6xKZdU='")
+ headerValueCSPSelf = []byte("default-src 'self'")
headerValueNoSniff = []byte("nosniff")
headerValueStrictOriginCrossOrigin = []byte("strict-origin-when-cross-origin")