View definition

(SecureConfig).HSTSMaxAge

Defined in github.com/labstack/echo/middleware/secure.go

Description

HSTSMaxAge sets the `Strict-Transport-Security` header to indicate how long (in seconds) browsers should remember that this site is only to be accessed using HTTPS. This reduces your exposure to some SSL-stripping man-in-the-middle (MITM) attacks. Optional. Default value 0.

HSTSMaxAge is referenced in 1 repository

github.com/labstack/echo