# These modules must be enabled : passenger
# Configuration for multiple vhosts http://localhost:3000/ and http://localhost:3030/
# listen the port...
Listen 3000
# ServerName my.domain.name
# this is the passenger config
RailsEnv production
# create a link in /var/lib/redmine/default/passenger to /usr/share/redmine
PassengerAppRoot /var/lib/redmine/default/passenger
SetEnv X_DEBIAN_SITEID "default"
Alias "/plugin_assets/" /var/cache/redmine/default/plugin_assets/
DocumentRoot /usr/share/redmine/public
Order allow,deny
Allow from all
Listen 3030
# ServerName my.domain.name
# this is the passenger config
RailsEnv production
# create a link in /var/lib/redmine/instance2/passenger to /usr/share/redmine
PassengerAppRoot /var/lib/redmine/instance2/passenger
SetEnv X_DEBIAN_SITEID "instance2"
Alias "/plugin_assets/" /var/cache/redmine/instance2/plugin_assets/
DocumentRoot /usr/share/redmine/public
Order allow,deny
Allow from all