backend rewrite of subdomains
Wayne E. Seguin
wayneeseguin at gmail.com
Wed Dec 19 23:41:00 MSK 2007
Igor,
I've searched the mailing lists and read the docs and played around with the
server but can't quite come up with what I'm trying to do.
I am trying to configure
*.staging.example.com proxy to backend staging.example.com/*
so for example:
hi_mom.staging.example.com in the backend goes to
staging.example.com/hi_mom/...
but the clients do not see the rewrite, eg they stay on
hi_mom.staging.example.com
Is there a way to do this with Nginx?
The only thing I've found that is close is :
http://pastie.textmate.org/private/7oox7dwjlejheocxufg
Thanks,
~Wayne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20071219/5f6da9ba/attachment.html>
More information about the nginx
mailing list