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 HSTS headers in NGINX conf file #4

Open
samcharles93 opened this issue Oct 3, 2017 · 1 comment
Open

add HSTS headers in NGINX conf file #4

samcharles93 opened this issue Oct 3, 2017 · 1 comment

Comments

@samcharles93
Copy link

Headers to be added to nginx conf file, to enable HSTS

add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload";

@SS88UK
Copy link
Owner

SS88UK commented Oct 3, 2017

I agree, I have this set-up however, should they let the certificate expire, they can no longer browse the website because Chrome blocks access without a valid certificate. Not sure about other browsers.

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