| # This is a test configuration. |
| # It makes use of a farm built from 4 servers, 3 of which are remote and |
| # referenced only via an HTTP redirect (302), and the 4th one is normal. |
| # HTTP requests different from GET/HEAD should reach the servers directly |
| # while GET/HEAD should get redirected for the 3 first ones. |
| stats socket /tmp/sock1 mode 600 |
| server rdr1 127.0.0.1:80 redir http://static1:80 weight 10 check inter 1000 fall 4 |
| server rdr2 127.0.0.2:80 redir http://static2:80 weight 20 check inter 1000 fall 4 |
| server rdr3 127.0.0.3:80 redir http://static3:80 weight 30 check inter 1000 fall 4 |
| server dir4 127.0.0.4:80 redir weight 30 check inter 1000 fall 4 |