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 preload to HSTS #129

Merged
merged 1 commit into from
Nov 3, 2018
Merged

Add preload to HSTS #129

merged 1 commit into from
Nov 3, 2018

Conversation

xPaw
Copy link
Member

@xPaw xPaw commented Nov 3, 2018

Ref: https://www.netlify.com/docs/ssl/#hsts-preload

I also added the same header on the demo.

@@ -1,4 +1,5 @@
/*
Strict-Transport-Security: max-age=63072000; includeSubDomains; preload
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't 2 years a bit long for HSTS? I usually see it set to 6 months. Fine either way, just checking.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's what https://hstspreload.org/ recommends, so do the netlify docs.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@xPaw xPaw merged commit c542fd6 into master Nov 3, 2018
@xPaw xPaw deleted the hsts branch November 3, 2018 19:20
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

Successfully merging this pull request may close these issues.

None yet

2 participants