]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/nginx.erb
nominatim: also send CORS headers for 404 responses
[chef.git] / cookbooks / nominatim / templates / default / nginx.erb
index 0f9765fd65bb837ea91b7de2ff31383ae6ae8d2b..941051d95ba0ec114746fabf32641f4aa53d929d 100644 (file)
@@ -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; }