Re: Cloak a hostname

2014-03-12 Thread Reinis Rozitis
Is it possible assuming I have a domain and uri: http://foo.bar/candy To have the browser location still show http://foo.bar/candy but actually fetch the content from: http://newdomain.com/candy If your server runs on foo.bar then: server { location / { proxy_pass http:/

Cloak a hostname

2014-03-11 Thread justink101
Is it possible assuming I have a domain and uri: http://foo.bar/candy To have the browser location still show http://foo.bar/candy but actually fetch the content from: http://newdomain.com/candy I.E. simply replace the host. Assume I have: server { listen 443; server_name foo.b