Multiple Apps - Single Domain

Stephen Anderson lists at ruby-forum.com
Mon Nov 19 00:13:46 MSK 2007


Can someone share, or point me to an nginx config example for running
multiple applications underneath the same domain.

eg: http://mydomain.com/application1 and
http://mydomain.com/application2.

Setting ActionController::AbstractRequest.relative_url_root =
"/application1" on the Rails side in config/environments/production.rb.
I'm pretty sure I can hack this out myself, but an example would be
nice.

Thanks!
-Steve-
-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list