Hi,
I need to alias a subdomain to contents of an url, e.g. I need http://abcd.domain.com/ to proxy contents of http://www.domain.com/path1/path2/xyz
All my attempts with proxy_pass resulted in 301 to http://abcd.domain.com/path1/path2/xyz and a 404 with strange duplicate uri /path1/path2/xyzpath1/path2/xyz
server {
listen 11.22.33.44:80;
server_name abcd.domain.com;
location / {
proxy_pass http://www.domain.com/path1/path2/xyz;
}
}
I'm clearly missing something, please help!_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx