-
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
Move security-related HTTP response headers from Rust to nginx.conf #2100
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
Regarding |
I'm going to implement the URL construction logic by reading |
We'd like to have these headers on the FastBoot server as well.
6e401b5
to
083bf7f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the entire security headers middleware can be removed now that this PR moves the CSP logic into nginx. With that change (and the other comment below) I'll upload to staging to test.
It allows us to share the header between Rust and FastBoot server.
Now the functionality is owned by Nginx.
LGTM! @bors r+ |
📌 Commit 93ea166 has been approved by |
Move security-related HTTP response headers from Rust to nginx.conf We'd like to have these headers on the FastBoot server as well.
☀️ Test successful - checks-travis |
We'd like to have these headers on the FastBoot server as well.