question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for "headers" configuration in haproxy.yaml?

See original GitHub issue

Hi all, I’m interested in passing a custom header to my HAProxy integration in haproxy.yaml, like this:

instances:
    - name: haproxy
      url: http://localhost:3000
      headers:
        service-route: haproxy-stats

However, that doesn’t appear to be supported. Any chance something like this could be added, or ideas for a workaround?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
ofekcommented, Jan 29, 2018

@justinklemm I’m happy to hear that! The feature will be included in the next minor release ~1 month from now.

1reaction
justinklemmcommented, Jan 20, 2018

@ofek Awesome! I will try this out next week and follow up.

Read more comments on GitHub >

github_iconTop Results From Across the Web

HAProxy version 2.8-dev0-99 - Configuration Manual
HAProxy supports 4 connection modes : - keep alive : all requests and ... HAProxy normalizes headers by replacing line breaks in the...
Read more >
How to add custom header to HAProxy | by Godwin Amila
1 and we checked the exact URL (Proxy URL) calling from client application and added the SOAPAction header in HAProxy. Please see below...
Read more >
HAProxy version 2.2.22 - Configuration Manual - GitHub Pages
The request headers. 1.3. HTTP response. 1.3.1. The response line. 1.3.2. The response headers. 2. Configuring HAProxy. 2.1. Configuration file format. 2.2.
Read more >
Configuration | Kubernetes Ingress object options
Sets an HTTP header in the request before it is passed to the backend service. This sets header before HAProxy does any service/backend...
Read more >
HAProxy Configurations/Settings - Reveal-Brainspace
Brainspace does not come pre-configured with any CSP headers since the configuration for many of them are specific to the environment where ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found