Last active
August 29, 2015 14:10
-
-
Save albertofem/f1fe226fca5e8aa8ef38 to your computer and use it in GitHub Desktop.
Redmine VirtualHost configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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