Is there an easy way to redirect foo.com to www.foo.com in nginx? Either that or if somebody knows a way to get restful authentication to store a cookie for either www.foo.com or foo.com that would be great. My current cookie is stored with this line:
cookies[:auth_token] = { :value => self.current_user.remember_token,:expires => self.current_user.remember_token_expires_at } I tried adding :domain => '.foo.com' but that didn't seem to work. I figure the nginx redirect would be the easiest thing... Thanks. -- 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 -~----------~----~----~----~------~----~------~--~---