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

envoy: add global response headers to local replies #2217

Merged

Conversation

calebdoxsey
Copy link
Contributor

@calebdoxsey calebdoxsey commented May 18, 2021

Summary

If envoy fails to match a request to a route it responds with a "local" reply. This PR adds a local reply configuration to add our global response headers to this reply.

Related issues

Fixes #2110

Checklist

  • reference any related issues
  • updated docs
  • updated unit tests
  • updated UPGRADING.md
  • add appropriate tag (improvement / bug / etc)
  • ready for review

@calebdoxsey calebdoxsey added bug Something isn't working backport 0-14-0 labels May 18, 2021
@calebdoxsey calebdoxsey requested a review from a team as a code owner May 18, 2021 18:28
@calebdoxsey calebdoxsey requested a review from wasaga May 18, 2021 18:28
@codeclimate
Copy link

codeclimate bot commented May 18, 2021

Code Climate has analyzed commit 3fa2a96 and detected 0 issues on this pull request.

View more on Code Climate.

@calebdoxsey calebdoxsey merged commit a1061c5 into master May 20, 2021
@calebdoxsey calebdoxsey deleted the cdoxsey/2110-response-headers-for-unmatched-routes branch May 20, 2021 14:56
desimone pushed a commit that referenced this pull request May 21, 2021
Co-authored-by: Caleb Doxsey <cdoxsey@pomerium.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 0-14-0 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HSTS header for external control plane endpoints
2 participants