Skip to content

Instantly share code, notes, and snippets.

@albertofem
Last active August 29, 2015 14:10
Show Gist options
  • Save albertofem/f1fe226fca5e8aa8ef38 to your computer and use it in GitHub Desktop.
Save albertofem/f1fe226fca5e8aa8ef38 to your computer and use it in GitHub Desktop.
Redmine VirtualHost configuration
# Apache 2.2 mod_header
Header always unset "X-Powered-By"
Header always unset "X-Rack-Cache"
Header always unset "X-Content-Digest"
Header always unset "X-Runtime"
PassengerMaxPoolSize 20
PassengerMaxInstancesPerApp 4
PassengerPoolIdleTime 3600
PassengerUseGlobalQueue on
PassengerHighPerformance on
PassengerStatThrottleRate 10
RailsSpawnMethod smart
RailsAppSpawnerIdleTime 86400
RailsFrameworkSpawnerIdleTime 0
# This is behind a cache proxy (like Varnish)
<VirtualHost *:8080>
ServerName server-name.whatever
DocumentRoot /usr/share/redmine/public/
<Directory "/usr/share/redmine/public/">
Options -Indexes ExecCGI FollowSymLinks
AllowOverride all
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment