Forum

Several "reverse-proxy" directives

Aquanet
29 January 2013, 14:05
Hello guys,

Do you know what will happen if we put several "reverse-proxy" directives into hiawatha conf for the same VHOST?

ReverseProxy .* http://149.154.69.12:80/ 30
ReverseProxy .* http://46.37.167.226:80/ 30

Like this. How will hiawatha react to this? Will this work as failover in case one IP is down?

Regards
Andrew.
Hugo Leisink
29 January 2013, 14:06
The first entry that has a matching pattern with the URL will be used. Since the first .* matches everything, the second will never be used. This will not work as a failover.
This topic has been closed.