location /alias2/ {
# proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://alias2.domain.net/;
proxy_redirect default;
}
When I type http://pub.domain.net/alias2 in a browser, I can reach the
backend machine with this url but the displayed page is messy. Is there
any way to rewrite/force the url in the browser ?
Blitter
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx