For Reverse proxy in Rails app,  I haven't used one but this looks promising: 

https://github.com/jaswope/rack-reverse-proxy 

You could do it _in_ the rails app, but it will be much more performant if you 
do it through a rack middleware. 


-- 
Richard Schneeman
http://heroku.com

@schneems (http://twitter.com/schneems)




On Wednesday, June 20, 2012 at 11:04 AM, Jeff Schmitz wrote:

> Because search engines don't consider blog.youapp.com 
> (http://blog.youapp.com) as part of yourapp.com (http://yourapp.com).
> 
> So you get the small benefit of additional inbound links, and a large minus 
> from relevant content not being on my site.  
> 
> On Wed, Jun 20, 2012 at 10:29 AM, Neil Middleton <[email protected] 
> (mailto:[email protected])> wrote:
> > Is there a valid reason for wanting to avoid serving directly from 
> > blog.yourapp.com (http://blog.yourapp.com) (i.e are 301's sufficient?)
> > 
> > On Wednesday, 20 June 2012 at 16:27, Jeff Schmitz wrote:
> > 
> > 
> > 
> > > I'd like to set up a reverse proxy, so that requests to 
> > > myherokuapp.com/blog (http://myherokuapp.com/blog) are served by 
> > > blog.myherokuapp.com (http://blog.myherokuapp.com) without the user being 
> > > any the wiser.
> > > 
> > > However, I haven't seen any way to do this in Heroku.
> > > 
> > > Has anybody
> > > 
> > > 1) been able to do configure this, or
> > > 2) been able to reverse proxy within their Rails app via gem/plugin, or 
> > > 3) deployed a blog gem/plugin within their Rails app that they love
> > > 
> > > Tired of losing SEO juice, searching for answers...
> > > 
> > > Thanks
> > > 
> > > jeff 
> > > 
> > > 
> > > 
> > > -- 
> > > You received this message because you are subscribed to the Google
> > > Groups "Heroku" group.
> > >  
> > > To unsubscribe from this group, send email to
> > > [email protected] 
> > > (mailto:[email protected])
> > > For more options, visit this group at
> > > http://groups.google.com/group/heroku?hl=en_US?hl=en
> > 
> > -- 
> > You received this message because you are subscribed to the Google
> > Groups "Heroku" group.
> >  
> > To unsubscribe from this group, send email to
> > [email protected] 
> > (mailto:heroku%[email protected])
> > For more options, visit this group at
> > http://groups.google.com/group/heroku?hl=en_US?hl=en
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Heroku" group.
>  
> To unsubscribe from this group, send email to
> [email protected] 
> (mailto:[email protected])
> For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en_US?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Heroku" group.

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en

Reply via email to