Re: dynamically choosing back-end port

2016-05-13 Thread William Lallemand
Hi Derek, I have the same need and I'm working on the 'http-request set-dst' and 'http-request set-dst-port' actions to cover it. It would work in the same way as 'http-request set-src' do with the evaluation of an expression. On Thu, May 12, 2016 at 12:15:48PM -0700, Derek Brown wrote: > Hi-

Re: dynamically choosing back-end port

2016-05-12 Thread Derek Brown
Hi- I'm wondering if you need any additional information, or if I can provide any clarification, to get a response to my query. Thanks, in advance Derek On Tue, May 10, 2016 at 3:08 PM, Derek Brown wrote: > Sure. > > I have a setup where we're using HAProxy to front

Re: dynamically choosing back-end port

2016-05-10 Thread Derek Brown
Sure. I have a setup where we're using HAProxy to front hundreds of different services, each service running on a different port. I can figure out from the request (for example, the SNI information), which service we want to use. However, for maintenance of the haproxy config file, it's very

dynamically choosing back-end port

2016-05-10 Thread Derek Brown
Hello- I am trying to write a configuration which will allow me to choose the back-end port dynamically. Specifically, I'd like to listen on port 443, and then choose the backend port based on an http header in the request. Something like frontend myserver bind 443 mode http