aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/httpd.conf14
1 files changed, 13 insertions, 1 deletions
diff --git a/config/httpd.conf b/config/httpd.conf
index 5717ae5e4..47e7f9c72 100644
--- a/config/httpd.conf
+++ b/config/httpd.conf
@@ -38,4 +38,16 @@ RewriteRule /files/(.+) http://files.whatdotheyknow.com/$1
PassengerResolveSymlinksInDocumentRoot on
# Recommend setting this to 3 or less on servers with 512MB RAM
PassengerMaxPoolSize 6
-</IfModule> \ No newline at end of file
+</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>