diff options
Diffstat (limited to 'install/conf/ipa.conf')
-rw-r--r-- | install/conf/ipa.conf | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/install/conf/ipa.conf b/install/conf/ipa.conf index f185f5146..f4dac9827 100644 --- a/install/conf/ipa.conf +++ b/install/conf/ipa.conf @@ -1,5 +1,5 @@ # -# VERSION 14 - DO NOT REMOVE THIS LINE +# VERSION 15 - DO NOT REMOVE THIS LINE # # This file may be overwritten on upgrades. # @@ -22,12 +22,13 @@ LimitRequestFieldSize 100000 AddType application/java-archive jar AddType application/x-xpinstall xpi -# Proper header for .woff fonts -AddType application/x-font-woff woff +# Proper header for .tff fonts +AddType application/x-font-ttf ttf # Enable compression AddOutputFilterByType DEFLATE text/html text/plain text/xml \ - application/javascript application/json text/css + application/javascript application/json text/css \ + application/x-font-ttf # Disable etag http header. Doesn't work well with mod_deflate # https://issues.apache.org/bugzilla/show_bug.cgi?id=45023 @@ -130,6 +131,19 @@ Alias /ipa/crl "$CRL_PUBLISH_PATH" </Directory> +# List explicitly only the fonts we want to serve +Alias /ipa/ui/fonts/open-sans "/usr/share/fonts/open-sans" +Alias /ipa/ui/fonts/fontawesome "/usr/share/fonts/fontawesome" +<Directory "/usr/share/fonts"> + SetHandler None + AllowOverride None + Satisfy Any + Allow from all + ExpiresActive On + ExpiresDefault "access plus 1 year" +</Directory> + + # webUI is now completely static, and served out of that directory Alias /ipa/ui "/usr/share/ipa/ui" <Directory "/usr/share/ipa/ui"> |