Hello!
On Thu, Feb 17, 2011 at 02:57:40PM +0300, Igor Sysoev wrote:
On 17.02.2011, at 11:22, bas wrote:
Добрый день, столкнулся с похожей проблемой на nginx/0.8.54:
nginx вырезает из $host имя upstream'a при proxy_pass
http://upstreamname.site.ru
Как именно вырезает ?
http://nginx.org/pipermail/nginx-ru/2010-February/032586.html
Цитата:
This fixes redirect returned if domain in Location header returned
by backend
starts with backend name as written in nginx config. E.g. with config
location / {
proxy_pass http://server;
}
if backend returns "Location: http://server.example.com/" resulting
redirect
was to ".example.com/" which is obviously wrong.