Reverse Proxy Fix plugin

Plugin details

This plugin is designed to allow your Rails application to reside behind a reverse proxy. When the plugin is configured and the application is running in production mode, any URLs generated by Rails helpers will automatically be prefixed with the host and path you specify.

Websitehttp://www.napcsweb.com/blog/2006/05/10/reverse-proxy-fix-plugin/ Repositoryhttp://svn.napcsweb.com/public/reverse_proxy_fix Author Brian Hogan Tags proxy LicenseMIT

Documentation

Install the plugin:
ruby script/plugin install http://svn.napcsweb.com/public/reverse_proxy_fix

An organization may be interested in running a Rails application behind a reverse proxy such as Apache. However, any URLs generated by the Rails appliction would expose the proxy.

For example, a front-end server http://www.mydomain.com/app1/ might be mapped to http://backend.mydomain.com:3000/

The plugin would be configured to prepend http://www.mydomain.com/app1 to all URLs generated by the application.

Further Documentation

There is currently no advanced documentation for this plugin.

New documentation

Edit plugin | (0 older versions) | Last edited by: hardway, 10 months ago