Ruby on Rails Wednesday, November 7, 2018

On Wed, 7 Nov 2018 at 19:05, tom <tomabroad@gmail.com> wrote:
>
> 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...

I think you need to be a little more explicit on exactly what you mean
by HOSTNAME (or HOST_NAME, you don't seem sure which it is).

Colin

>
>
> 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.

--
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/CAL%3D0gLtwxkcXewu27Xfe2GaNKmdmRx4cXd%3DuTinQ2drFHMmy1A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment