-
Notifications
You must be signed in to change notification settings - Fork 587
Apache deployment
yuki-kimoto edited this page Nov 15, 2010
·
35 revisions
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.