variables :hosts => admins["hosts"]
end
+apache_module "deflate" do
+ conf "deflate.conf.erb"
+end
+
apache_module "reqtimeout" do
action [:disable]
end
--- /dev/null
+# DO NOT EDIT - This file is being maintained by Chef
+
+<IfModule mod_deflate.c>
+ <IfModule mod_filter.c>
+ # these are known to be safe with MSIE 6
+ AddOutputFilterByType DEFLATE text/html text/plain text/xml
+
+ # everything else may cause problems with MSIE 6
+ AddOutputFilterByType DEFLATE text/css
+ AddOutputFilterByType DEFLATE application/x-javascript application/javascript application/ecmascript
+ AddOutputFilterByType DEFLATE application/rss+xml
+ AddOutputFilterByType DEFLATE application/xml
+ AddOutputFilterByType DEFLATE image/svg+xml
+ </IfModule>
+</IfModule>
easy_install_package "geojson"
apache_module "env"
-apache_module "deflate"
apache_module "expires"
apache_module "proxy"
apache_module "proxy_fcgi"
CustomLog /var/log/apache2/<%= @name %>-access.log combined
ErrorLog /var/log/apache2/<%= @name %>-error.log
- AddOutputFilterByType DEFLATE image/svg+xml
-
RailsEnv production
SetEnv SECRET_KEY_BASE <%= @secret_key_base %>
options "--format-executable"
end
-apache_module "deflate"
-
apache_module "passenger" do
conf "passenger.conf.erb"
end
web_passwords = data_bag_item("web", "passwords")
apache_module "alias"
-apache_module "deflate"
apache_module "expires"
apache_module "headers"
apache_module "proxy_http"
ExpiresActive On
RewriteEngine on
- #
- # Configure on the fly compression
- #
- AddOutputFilterByType DEFLATE image/svg+xml
-
#
# Add the unique ID to the request headers
#