]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/nginx.erb
nominatim: fix content type for options response
[chef.git] / cookbooks / nominatim / templates / default / nginx.erb
index 297e5d68e0e9c4f2d76c8ad2c8473e00cad9a546..def54f1ace9a6414dff411bdaee36dba1e61abb7 100644 (file)
@@ -209,7 +209,7 @@ server {
 <% elsif node[:nominatim][:api_flavour] == "python" %>
 
         if ($request_method = 'OPTIONS') {
-          add_header 'Content-Type' 'text/plain charset=UTF-8';
+          add_header 'Content-Type' 'text/plain; charset=UTF-8';
           add_header 'Content-Length' 0;
           add_header Access-Control-Allow-Origin "*" always;
           add_header Access-Control-Allow-Methods 'GET,OPTIONS' always;