Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add deprecation for hsts #21

Open
rocketeerbkw opened this issue Feb 28, 2023 · 1 comment
Open

Add deprecation for hsts #21

rocketeerbkw opened this issue Feb 28, 2023 · 1 comment

Comments

@rocketeerbkw
Copy link
Member

Routes could be configured to return the HSTS header by using the hsts field. The format was:

environments:
  main:
    routes:
      - nginx:
        - "www.example.com":
            hsts: max-age=31536000

HSTS is still supported, but the field names have changed, so existing hsts fields should throw a deprecation.

@smlx
Copy link
Member

smlx commented Mar 3, 2023

The linter has a deprecated profile for this purpose (it can already check for monitoring URLs).

See #14 (comment)

The same goes for #22 and #23.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants