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

Disabling/Configuring HSTS #693

Closed
pedropregueiro opened this issue Mar 18, 2019 · 2 comments
Closed

Disabling/Configuring HSTS #693

pedropregueiro opened this issue Mar 18, 2019 · 2 comments

Comments

@pedropregueiro
Copy link

Is it possible to configure the HSTS options on the GCE ingress the same way it's possible to do it with the ingress-nginx:

https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/#hsts

@rramkumar1
Copy link
Contributor

@pedropregueiro We don't support HSTS but we do support something similar via the annotation kubernetes.io/ingress.allow-http: "false"

This will ensure clients can only talk HTTPS to the Google LB frontend.

@pedropregueiro
Copy link
Author

In that case, I can't control the HSTS header Strict-Transport-Policy options (max-age, preload, sub-domains), so I'll just move to ingress-nginx instead.

thanks for the answer though @rramkumar1, closing this one now.

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