]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/nginx.erb
nominatim: fix nginx map for email
[chef.git] / cookbooks / nominatim / templates / default / nginx.erb
index 969f625bd077f1b18569b27ef0fe528df1ca0f46..fd4ed93fad36f8e103d358012feec1ba7babd77f 100644 (file)
@@ -56,7 +56,7 @@ map $missing_email$missing_ua$http_referer $blocked_referrer {
    include <%= @confdir %>/nginx_blocked_referrer.conf;
 }
 
-map $missing_referer$missing_ua$http_referer $blocked_email {
+map $missing_referer$missing_ua$email_id $blocked_email {
    default 0;
    include <%= @confdir %>/nginx_blocked_email.conf;
 }