Erzwinge, dass Nginx einen bestimmten Inhaltstyp sendet

Wie überschreibe ich den Standard-Inhaltstyp in Nginx? Derzeit, wenn ich 01.dae-Datei anfordern, gibt es

Content-Type: application/octet-stream;

Und ich möchte, dass es so ist

Content-Type: application/xml;

Ich habe so etwas versucht

location ~* \.dae$ {
  types { };
  default_type application/xml;
}

und

location ~* \.dae$ {
  add_header Content-Type application/xml;
}

aber nichts funktioniert.

Antworten auf die Frage(3)

Ihre Antwort auf die Frage