Skip to content
yuki-kimoto edited this page Nov 15, 2010 · 35 revisions

Apache deployment

Apache/mod_proxy

If you want to deploy multipul apllication, it is easy to use virtual-host and mod_proxy in Apache.

<VirtualHost *:80>

   ServerName app1.somehost.com
   ProxyPass / http://localhost:3000/
   ProxyPassReverse / http://localhost:3000/

    </VirtualHost>

    <VirtualHost *:80>

   ServerName app2.somehost.com
   ProxyPass / http://localhost:3001/
   ProxyPassReverse / http://localhost:3001/

    </VirtualHost>

note that you must create sub-domain for each application.

Clone this wiki locally