Project

General

Profile

HAProxy Config Question

Added by Matthew Kettlewell about 13 years ago

I'm trying to understand the HAProxy Reverse Proxy wiki page example you have (it looks like that is your preferred reverse proxy because of web sockets)

I don't understand how this line works:

 acl srv1 url_sub wtd=wt1

I get that the wt1 is the sessionid prefix, but where is the wtd coming from? is that a query string?

Ultimately I'm wanting to setup a multi-application test server (with no load balancing) that I can install all the examples onto so that I can get to them via localhost/hello, localhost/blog, etc.

Matt


Replies (1)

RE: HAProxy Config Question - Added by Koen Deforche about 13 years ago

Hey,

Yes, wtd is the query string that wt uses for the session Id.

For the multi-application idea: use the WServer API and its addEntryPoint method.

Regards,

Koen

    (1-1/1)