Skip to content

HSTS preload support  #220

@RoneyThomas

Description

@RoneyThomas

I would really like firebase support HSTS preload for hosting rules. Currently firebase sets HSTS to strict-transport-security:max-age=31556926. I would like it be strict-transport-security:max-age=31536000; includeSubDomains; preload. So that i can add my domain to HSTS preload list. I tried to set it via hosting rules but got an error saying not supported.

      {
        "source": "**",
        "headers": [
          {
            "key": "strict-transport-security",
            "value": "max-age=31536000; includeSubDomains; preload"
          }
        ]
      }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions