Add STS header
This commit is contained in:
parent
fea541847d
commit
fd726087a1
|
@ -438,6 +438,7 @@ func (ss *statsStream) ModTime() time.Time {
|
|||
func setOtherHeaders(ctx httputils.RequestContext) {
|
||||
ctx.SetResponseHeader("Server", "OrbitalBeat")
|
||||
ctx.SetResponseHeader("Vary", "Content-Encoding")
|
||||
ctx.SetResponseHeader("Strict-Transport-Security", "max-age=31536000")
|
||||
ctx.SetResponseHeader("X-Content-Type-Options", "nosniff")
|
||||
ctx.SetResponseHeader("X-Robots-Tags", "noindex, nofollow, notranslate")
|
||||
|
||||
|
|
Loading…
Reference in a new issue