]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/nginx.erb
nominatim: make forward dependencies configurable
[chef.git] / cookbooks / nominatim / templates / default / nginx.erb
index 160052d31c4eba8eb807ff139c4c82145b295de7..6f355dd11bf73fefdc0cb90e6bbd6a5037411a3e 100644 (file)
@@ -1,5 +1,5 @@
 upstream nominatim_service {
 upstream nominatim_service {
-  server unix:/run/php/nominatim.openstreetmap.org.sock;
+  server unix:/run/php/php-nominatim.openstreetmap.org-fpm.sock;
 }
 
 map $uri $nominatim_script_name {
 }
 
 map $uri $nominatim_script_name {
@@ -58,6 +58,11 @@ geo $whitelisted {
     209.132.180.180 1;
     209.132.180.168 1;
     8.43.85.3 1; # gnome
     209.132.180.180 1;
     209.132.180.168 1;
     8.43.85.3 1; # gnome
+    8.43.85.4 1; # gnome
+    8.43.85.5 1; # gnome
+    2620:52:3:1:5054:ff:fe0a:75a4 1; # gnome
+    2620:52:3:1:5054:ff:fe0a:75a2 1; # gnome
+    2620:52:3:1:5054:ff:fe0a:75aa 1; # gnome
 }
 
 map $missing_email$missing_referer$http_user_agent $blocked_user_agent {
 }
 
 map $missing_email$missing_referer$http_user_agent $blocked_user_agent {