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

Fix #727 - HSTS: default preload to off #728

Merged
merged 1 commit into from
Jan 7, 2017

Conversation

swalkinshaw
Copy link
Member

@swalkinshaw swalkinshaw commented Jan 7, 2017

The HSTS preload option defaulted to true. This turns it off by default since the HSTS preload list should be opt-in as it also requires a submission to https://hstspreload.org.

NOTE: If you submitted your site to the HSTS preload list and want to keep using the preload option, then set the variable:

# group_vars/production/wordpress_sites.yml (example)

example.com:
  # rest of site config
  ssl:
    enabled: true
    provider: letsencrypt
    hsts_max_age: 31536000
    hsts_include_subdomains: true
    hsts_preload: true

Or set the global default:

nginx_hsts_preload: true

See https://roots.io/trellis/docs/ssl/ for more information.

The HSTS `preload` option defaulted to true. This turns it off by
default since the HSTS preload list should be opt-in as it also requires
a submission to https://hstspreload.org.
@swalkinshaw
Copy link
Member Author

Doc updates with much more information on this: roots/docs#66

@swalkinshaw swalkinshaw merged commit 991c83d into master Jan 7, 2017
@swalkinshaw swalkinshaw deleted the hsts-default-preload-off branch January 7, 2017 04:18
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.

1 participant