class Marten::Conf::GlobalSettings::StrictTransportSecurity
- Marten::Conf::GlobalSettings::StrictTransportSecurity
- Reference
- Object
Overview
Allows to configure settings related to the Strict-Transport-Security middleware.
Defined in:
marten/conf/global_settings/strict_stransport_security.crInstance Method Summary
-
#include_sub_domains : Bool
Indicates if the
includeSubDomains
directive should be set on the Strict-Transport-Security header. -
#include_sub_domains=(include_sub_domains : Bool)
Allows to define if the
includeSubDomains
directive should be set on the Strict-Transport-Security header. -
#max_age : Int32?
Returns the max age to use for the Strict-Transport-Security header.
-
#max_age=(max_age : Int32 | Nil)
Allows to set the max age to use for the Strict-Transport-Security header.
-
#preload : Bool
Indicates if the
#preload
directive should be set on the Strict-Transport-Security header. -
#preload=(preload : Bool)
Allows to define if the
#preload
directive should be set on the Strict-Transport-Security header.
Instance Method Detail
Indicates if the includeSubDomains
directive should be set on the Strict-Transport-Security header.
Allows to define if the includeSubDomains
directive should be set on the Strict-Transport-Security header.
Returns the max age to use for the Strict-Transport-Security header.
A nil
value indicates that the Strict-Transport-Security header will not be set.
Allows to set the max age to use for the Strict-Transport-Security header.
Indicates if the #preload
directive should be set on the Strict-Transport-Security header.