8000 Add proxy_static_http_headers option and static_http_headers key for granular proxy by FZambia · Pull Request #687 · centrifugal/centrifugo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add proxy_static_http_headers option and static_http_headers key for granular proxy #687

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

Merged
merged 1 commit into from
Aug 5, 2023

Conversation

FZambia
Copy link
Member
@FZambia FZambia commented Aug 2, 2023

Proposed changes

Relates #684

proxy_static_http_headers is a set of key/value pairs to attach to HTTP proxy requests as headers. Headers received from HTTP client request or metadata from GRPC client request both have priority over values set in this map.

{
  ...
  "proxy_static_http_headers": {
    "X-Custom-Header": "custom value"
  }
}

Also added static_http_headers key for granular proxy configuration.

@FZambia FZambia merged commit 4e06b8b into master Aug 5, 2023
@FZambia FZambia deleted the proxy_static_http_headers branch December 26, 2023 11:25
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
0