- I build http://SOME.example.com and http://OTHER.example.com on the server SOME.example.com.
useing nginx unicorn RoR Device
- For the clone, http://SOME_CLONE.example.com and http://OTHER_CLONE.example.com are builed on the server SOME_CLONE.example.com
- 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
when access ‘needs authenticate page’ , redirected to SOME/users/sign-in, not to SOME_CLONE/users/sign-in
Explicitly access to SOME_CLONE/users/sign-in, can access to SOME_CLONE and later accesses reach to SOME_CLONE
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)
how can i resolve