1. I build http://SOME.example.com and http://OTHER.example.com on the server SOME.example.com. useing nginx unicorn RoR Device 2. For the clone, http://SOME_CLONE.example.com and http://OTHER_CLONE.example.com are builed on the server SOME_CLONE.example.com 3. Only SOME.example.com is defined on DNS, others are on the /etc/hosts
3 of 4 domains work well, but SOME_CLONE works strange 1. when access 'needs authenticate page' , redirected to SOME/users/sign-in, not to SOME_CLONE/users/sign-in 2. Explicitly access to SOME_CLONE/users/sign-in, can access to SOME_CLONE and later accesses reach to SOME_CLONE 3. when access SOME_CLONE/foo, access_log s are SOME_CLONE/Rails.root/log/product " Started GET "/foo" " and "Completed 401 Unauthorized " SOME_CLONE/access/log /foo(status is 302) SOME_/access/log /users/sign-in how can i resolve Thanks -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/5197bdc9-b568-4295-8ce2-7628d4ecc622%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

