I just bought the domain xappspot.com
, and what I'd like to do is proxy request to it to appspot.com
.
For example:
http://json-time.xappspot.com/time.json
-> http://json-time.appspot.com/time.json
How could I configure nginx to do this? I searched for a while and can't find resouces to pass the subdomain. thanks!