zlib1g-dev
]
+apache_module "expires"
+apache_module "rewrite"
+
gem_package "bundler" do
version "1.17.3"
end
SSLCertificateKeyFile /etc/ssl/private/stateofthemap.org.key
DocumentRoot /srv/stateofthemap.org/html
+
+ ErrorDocument 404 /404.html
+
+ ExpiresActive On
+ ExpiresDefault "access plus 12 hours"
</VirtualHost>
<Directory /srv/stateofthemap.org/html>
SSLCertificateKeyFile /etc/ssl/private/<%= @year %>.stateofthemap.org.key
DocumentRoot /srv/<%= @year %>.stateofthemap.org/_site
+
+ ErrorDocument 404 /404.html
+
+ ExpiresActive On
+ ExpiresDefault "access plus 10 minutes"
</VirtualHost>
<Directory /srv/<%= @year %>.stateofthemap.org/_site>
SSLCertificateKeyFile /etc/ssl/private/<%= @year %>.stateofthemap.org.key
DocumentRoot /srv/<%= @year %>.stateofthemap.org
+
+ ErrorDocument 404 /404.html
+
+ ExpiresActive On
+ ExpiresDefault "access plus 7 days"
</VirtualHost>
<Directory /srv/<%= @year %>.stateofthemap.org>