apache_module "proxy_fcgi"
apache_module "proxy_http"
apache_module "headers"
+apache_module "reqtimeout"
service "php7.0-fpm" do
action [:enable, :start]
end.flatten
fail2ban_filter "nominatim" do
- failregex '^<HOST> - - \[\] "[^"]+" (400|429) '
+ failregex '^<HOST> - - \[\] "[^"]+" (408|429) '
end
fail2ban_jail "nominatim" do
# Remove Proxy request header to mitigate https://httpoxy.org/
RequestHeader unset Proxy early
+ RequestReadTimeout header=15-30,MinRate=500 body=15-30,MinRate=500
+
CustomLog /var/log/apache2/nominatim.openstreetmap.org-access.log combined
ErrorLog /var/log/apache2/nominatim.openstreetmap.org-error.log