Does unicorn support mount the webapp with a prefix like Thin does?
jheiss at aput.net
Wed Mar 30 14:19:48 EDT 2011
On Mar 21, 2011, at 12:37 AM, Guang-Nan Cheng wrote:
> For example, I have a webapp that handles /welcome.
> Does unicorn support to mount the entire webapp at /prefix so request
> to /prefix/welcome are handled?
If it is a Rails app you can put the following in your unicorn config file:
ENV['RAILS_RELATIVE_URL_ROOT'] = '/prefix'
More information about the mongrel-unicorn