Chris Charman a écrit :
> Does anyone have a (working) config that proxies both http and https
> through the same frontend/backend config?
>
> Or do you have to use "listen..." configs for this?
>
> Thanks in advance!
>
> -Chris
Not exactly what you asked, but this one is working like a charm: (With stunnel)
----8<----------------
log global
option httplog
option dontlognull
acl urlBO hdr_sub(host) url.back.office
use_backend back-offices if urlBO default_backend front-offices
reqidel ^X-Forwarded-For:
option forwardfor except 127.0.0.1/8
frontend https 127.0.0.1:8443
mode http
option nolinger
log global
option httplog
option dontlognull
default_backend back-offices
backend front-offices
mode http
balance header Host use_domain_only
cookie PSRVTRACK insert nocache
server srv5 10.0.0.5:80 cookie ID05 check inter 10000 maxconn 200 ....
backend back-offices
mode http
cookie PSRVTRACK insert nocache
server srv1 10.0.0.1:80 cookie ID01 check inter 10000 maxconn 200 ...
----8<----------------Received on 2008/10/04 13:20
This archive was generated by hypermail 2.2.0 : 2008/10/04 13:30 CEST