commit | e8df1e128dac0b76a7d2481e242d3388bd5fcd01 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Dec 16 14:30:55 2013 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Dec 16 14:30:55 2013 +0100 |
tree | 2152d4b7ce21f6d2f3da4d69028c43f2ece252b4 | |
parent | 6762a3061ac0d1d8c8860a2191c602a3c526205c [diff] |
MEDIUM: http: make option http_proxy automatically rewrite the URL There are very few users of http_proxy, and all of them complain about the same thing : the request is passed unmodified to the server (in its proxy form), and it is not possible to fix it using reqrep rules because http_proxy happens after. So let's have http_proxy fix the URL it has analysed to get rid of the scheme and the host part. This will do what users of this feature expect.