]> git.openstreetmap.org Git - chef.git/commitdiff
nominatim: fix nginx map for email
authorSarah Hoffmann <lonvia@denofr.de>
Sat, 25 Apr 2020 09:24:07 +0000 (11:24 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sat, 25 Apr 2020 09:24:07 +0000 (11:24 +0200)
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;
 }