lib/deprec/third_party/railsmachine/recipes/templates/httpd.conf in deprec-1.7.1 vs lib/deprec/third_party/railsmachine/recipes/templates/httpd.conf in deprec-1.8.0
- old
+ new
@@ -45,10 +45,10 @@
# Redirect all non-static requests to cluster
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
RewriteRule ^/(.*)$ balancer://<%= "#{application}_cluster" %>%{REQUEST_URI} [P,QSA,L]
# Deflate
- AddOutputFilterByType DEFLATE text/html text/plain text/xml
+ AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
ErrorLog logs/<%= domain %>-error_log