Rails proxy setting - How?


Now I have set a openfire as xmpp server, and use apache do a proxy pass
to enable http-bind
ProxyRequests On
ProxyPass /http-bind/ http://host:7070/http-bind/ (this is the openfire
ProxyPassReverse /http-bind/ http://host:7070/http-bind/

When using under apache, it works.

But Now I using rails with port 3000, so my question is can rails do the
same thing as apache, can proxypass a action to a url?

I have try the Net::HTTP.proxy but can’t make it work.

Any help is appreciate!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs