class

Marten::Conf::GlobalSettings::StrictTransportSecurity

Inherits Reference / Object

Allows to configure settings related to the Strict-Transport-Security middleware.

Instance methods

include_sub_domains

Indicates if the includeSubDomains directive should be set on the Strict-Transport-Security header.

Source
include_sub_domains=(include_sub_domains : Bool)

Allows to define if the includeSubDomains directive should be set on the Strict-Transport-Security header.

Source
include_sub_domains?

Indicates if the includeSubDomains directive should be set on the Strict-Transport-Security header.

Source
max_age

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.

Source
max_age=(max_age : Int32 | Nil)

Allows to set the max age to use for the Strict-Transport-Security header.

Source
preload

Indicates if the preload directive should be set on the Strict-Transport-Security header.

Source
preload=(preload : Bool)

Allows to define if the preload directive should be set on the Strict-Transport-Security header.

Source
preload?

Indicates if the preload directive should be set on the Strict-Transport-Security header.

Source