I've got two domains (foo.com, bar.com) on the same nginx instance where
I want to rewrite the raw domains to a www. (i.e. foo.com rewrites to
www.foo.com and bar.com rewrites to www.bar.com)

I've got both sites running and the first server block redirects ok but
the second does not even though the config is identical.   So foo.com
does redirect to www.foo.com but bar.com goes to foo.com instead of
www.bar.com

Can somebody help me out and see where I may have gone wrong?

I've attached the conf file in question.

Thank you!

Attachments:
http://www.ruby-forum.com/attachment/2612/nginx.conf

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to