X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/7aa1c692da44b5441554522d486e01aa02b27c3a..3ae5b9b4fbb5a637df5a9e8138cd421e0c6e74e7:/cookbooks/nominatim/templates/default/apache.erb diff --git a/cookbooks/nominatim/templates/default/apache.erb b/cookbooks/nominatim/templates/default/apache.erb index add708d69..010b27ad8 100644 --- a/cookbooks/nominatim/templates/default/apache.erb +++ b/cookbooks/nominatim/templates/default/apache.erb @@ -27,16 +27,16 @@ <% @pools.each do |name,details| -%> Alias /pool-<%= name %>/ "<%= @directory %>/website/" > - AddHandler fcgi:/var/run/php5-fpm-www.sock .php - AddHandler fcgi:/var/run/php5-fpm-www.sock .phpx - AddHandler fcgi:/var/run/php5-fpm-www.sock .phpj + AddHandler fcgi:/var/run/php5-fpm-<%= name %>.sock .php + AddHandler fcgi:/var/run/php5-fpm-<%= name %>.sock .phpx + AddHandler fcgi:/var/run/php5-fpm-<%= name %>.sock .phpj <% end -%> - Redirect 509 /pool-block/ - ErrorDocument 509 /509.html + Redirect 420 /pool-block/ + ErrorDocument 420 /509.html - ErrorDocument 509 /509.html + ErrorDocument 420 /509.html Redirect 403 /pool-ban/