Re: nginx reverse proxy odd 301 redirect

2013-10-06 Thread izghitu
Hi, The problem was hostname related. Thanks for your help > incorrect configuration of server{} blocks and/or wrong hostname > used in request. > Posted at Nginx Forum: http://forum.nginx.org/read.php?2,243458,243466#msg-243466 ___ nginx mailing l

nginx reverse proxy odd 301 redirect

2013-10-05 Thread izghitu
Hi, I have latest nginx which I am using as a reverse proxy for an application of mine running on apache on another server. The nginx config is like this: upstream upstreamname { server ip:port; } location / { proxy_pass http://upstreamname; proxy_redirect off; proxy_set_h