diff options
Diffstat (limited to 'config/httpd.conf')
-rw-r--r-- | config/httpd.conf | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/config/httpd.conf b/config/httpd.conf index 108402f69..47e7f9c72 100644 --- a/config/httpd.conf +++ b/config/httpd.conf @@ -36,4 +36,18 @@ RewriteRule /files/(.+) http://files.whatdotheyknow.com/$1 # Set this to something like 100 if you have memory leak issues PassengerMaxRequests 0 PassengerResolveSymlinksInDocumentRoot on -</IfModule>
\ No newline at end of file + # 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> |