Mercurial > hg > nginx-quic
comparison src/core/ngx_rbtree.h @ 5939:aeea0522332f
Proxy: fixed incorrect URI change due to if (ticket #86).
In the following configuration request was sent to a backend without
URI changed to '/' due to if:
location /proxy-pass-uri {
proxy_pass http://127.0.0.1:8080/;
set $true 1;
if ($true) {
# nothing
}
}
Fix is to inherit conf->location from the location where proxy_pass was
configured, much like it's done with conf->vars.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 09 Dec 2014 18:22:39 +0300 |
parents | 1f513d7f1b45 |
children | e0cc454aafe4 |
comparison
equal
deleted
inserted
replaced
5938:cd2abf7e7740 | 5939:aeea0522332f |
---|