-
-
Notifications
You must be signed in to change notification settings - Fork 605
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
Consider disabling HSTS by default #741
Comments
At the very least, consider turning off includeSubdomains as a default. I've been bitten by this (external service hosted on a subdomain that does not support https) |
Strongly agree with disabling HSTS by default. The cost of a mistake is too high. |
yeah we should do this... and update the docs here: https://roots.io/docs/trellis/master/mail/#development not sure where we've left off on this, are there any reasons not do this - @swalkinshaw? |
Unfortunately one issue with switching the default is it will mean someone loses their HSTS setting without realizing it. Of course we'll mark the change as breaking and communicate what they need to do... but still. Just a minor thing to consider.
Is this true? If max-age is set to I'm not entirely against this, I just don't know it's as clear cut as we think? |
Ref #741 This changes the default for HSTS' `includeSubdomains` value from `true` to `false`. Previously a user visiting a WordPress site would result in HSTS being enabled in their browser for _all_ subdomains of the site's domain. Now HSTS will only apply to the hostnames activately managed by Trellis in the `wordpress_sites.yml` config. This is a safer default since subdomains can frequently exist without SSL.
Couple updates on this issue.
I think with those changes, it still makes sense to keep HSTS enabled by default for two reasons.
Please let me know if I'm still missing some other situation where this can be a problem. |
Ref #741 This changes the default for HSTS' `includeSubdomains` value from `true` to `false`. Previously a user visiting a WordPress site would result in HSTS being enabled in their browser for _all_ subdomains of the site's domain. Now HSTS will only apply to the hostnames activately managed by Trellis in the `wordpress_sites.yml` config. This is a safer default since subdomains can frequently exist without SSL.
Closing this now that #1409 is merged. Docs will be updated after the next Trellis release. |
moving our internal discussion from this weekend onto here so we don't forget about it
The text was updated successfully, but these errors were encountered: