I'm trying to set up a route to redirect to my monit interface, but I'm not sure how to do it. what I'd like is my https://domain.com:3000/monit to redirect to http://domain.com:2812 . I tried: get "/monit" => redirect("#{request.protocol}#{request.host}:2812") in my config.rb, but it doesn't seem to know about request, base_url or anything else I can find. Any help is greatly appreciated! -- Posted via http://www.ruby-forum.com/. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/9e6eabe947dbaeab9d5b7b1fad123ab6%40ruby-forum.com. For more options, visit https://groups.google.com/d/optout.