]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/nginx.erb
Use string names and unix domain sockets for nominatim FPM pools
[chef.git] / cookbooks / nominatim / templates / default / nginx.erb
index 88bd3c90993e2962fb7107325444d933222b115d..a44e9382c0bf69c9266f23bbe6c37aad707e64c3 100644 (file)
@@ -1,5 +1,5 @@
 upstream nominatim_service {
-  server 127.0.0.1:<%= @pools[:www][:port ]%>;
+  server unix:/run/php/nominatim.openstreetmap.org.sock;
 }
 
 map $uri $nominatim_script_name {