diff options
Diffstat (limited to 'config/httpd.conf')
-rw-r--r-- | config/httpd.conf | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/config/httpd.conf b/config/httpd.conf index d5e86478a..47e7f9c72 100644 --- a/config/httpd.conf +++ b/config/httpd.conf @@ -35,4 +35,19 @@ RewriteRule /files/(.+) http://files.whatdotheyknow.com/$1 <IfModule mod_passenger.c> # Set this to something like 100 if you have memory leak issues PassengerMaxRequests 0 -</IfModule>
\ No newline at end of file + PassengerResolveSymlinksInDocumentRoot on + # Recommend setting this to 3 or less on servers with 512MB RAM + PassengerMaxPoolSize 6 +</IfModule> + +# Gzip font resources +<IfModule mod_deflate.c> + <IfModule mod_mime.c> + Addtype font/opentype .otf + Addtype font/opentype .woff + Addtype font/eot .eot + Addtype font/truetype .ttf + </IfModule> + AddOutputFilterByType DEFLATE font/opentype font/truetype font/eot + AddOutputFilterByType DEFLATE image/svg+xml +</IFModule> |