X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/8713f84756474ea7c27e7d3e745957943eb32f14..7302041c3f2c05098816f4fd9e3e538811f25a4e:/cookbooks/nominatim/templates/default/nginx.erb diff --git a/cookbooks/nominatim/templates/default/nginx.erb b/cookbooks/nominatim/templates/default/nginx.erb index 0f9765fd6..941051d95 100644 --- a/cookbooks/nominatim/templates/default/nginx.erb +++ b/cookbooks/nominatim/templates/default/nginx.erb @@ -169,6 +169,10 @@ server { index search.html; } + location /qa-data/ { + add_header Access-Control-Allow-Origin "*" always; + } + location @php { if ($blocked_user_agent ~ ^2$) { return 403; }