include apache2::proxy_http
include apache2::expires
+ apache2::module { 'mod_cache_disk':
+ ensure => present,
+ }
+
# security-tracker abusers
# 66.170.99.1 20180706 excessive number of requests
# 66.170.99.2 20180706 excessive number of requests
UserDir disabled
</IfModule>
+ <IfModule mod_cache_disk.c>
+ CacheEnable disk /
+ # Keep serving stale entities for up to 10 seconds while
+ # they're being refreshed
+ CacheLock on
+ CacheLockPath /var/lock/apache2/mod_cache
+ CacheLockMaxAge 10
+ </IfModule>
+
LogLevel warn
ErrorLog /var/log/apache2/security-tracker.debian.org-error.log
CustomLog /var/log/apache2/security-tracker.debian.org-access.log privacyssl