> This page is for Developer.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.bigcommerce.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.bigcommerce.com/_mcp/server.

# HstsSettings

GraphQL object

HSTS settings

Reference: https://docs.bigcommerce.com/developer/api-reference/graphql/storefront/types/objects/hsts-settings

## Fields

- `hstsOnStorefrontEnabled` — Flag indicating if HSTS is enabled on storefront.
- `hstsInPreloadEnabled` — Flag indicating if HSTS is enabled in preload.
- `hstsInSubdomainsEnabled` — Flag indicating if HSTS is enabled in subdomains.
- `hstsMaxAgeDurationSeconds` — Value of Max-Age header for HSTS.

## Definition

```graphql
type HstsSettings {
  hstsOnStorefrontEnabled: Boolean!
  hstsInPreloadEnabled: Boolean!
  hstsInSubdomainsEnabled: Boolean!
  hstsMaxAgeDurationSeconds: Long!
}
```