]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/nginx.erb
nominatim: fix nginx variable name
[chef.git] / cookbooks / nominatim / templates / default / nginx.erb
index 1a5fa0c985015e22f2528df9372ec350def7418c..7790270b744e0eeb13214672e4981b02e3bbebe4 100644 (file)
@@ -98,8 +98,8 @@ server {
     }
 
     location / {
-        set anyid = $http_referer$http_user_agent$email_id;
-        if (anyid = "")
+        set $anyid = $http_referer$http_user_agent$email_id;
+        if ($anyid = "")
         { return 403; }
         if ($blocked_user_agent ~ ^2$)
         { return 403; }