Skip to content

Instantly share code, notes, and snippets.

@skarllot
Created January 17, 2015 07:11
Show Gist options
  • Select an option

  • Save skarllot/a062f8960ef4d5b3d2b9 to your computer and use it in GitHub Desktop.

Select an option

Save skarllot/a062f8960ef4d5b3d2b9 to your computer and use it in GitHub Desktop.
Apache config to Passenger (Redmine)
<IfModule passenger_module>
<VirtualHost *:80>
ServerAdmin admin@example.com
ServerName page.example.com
DocumentRoot "/var/www/redmine/public"
PassengerAppRoot /var/www/redmine
RailsEnv 'production'
PassengerMinInstances 3
<Directory "/var/www/redmine/public">
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
PassengerPreStart http://page.example.com/
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment