Ruby on Rails Wednesday, November 7, 2018

hi,

i have a nginx server serving a ror app (1).

now i have added a second server section , different server_name
directive in nginx.conf serving up the same app but with a different
layout based on controlle rlogic based on the HOST_NAME.

it works locally, but the server still show HOSTNAME from server 1,
hence logic failing...


any ideas?

--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMfKjH6ZPOERwQjfd3ZGkbvnhj8o5eAOOTXjNnoiK1jSNw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment