X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/8713f84756474ea7c27e7d3e745957943eb32f14..8a108732b58fe598e13930f9644341fe919b8c44:/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; }