title: Force nginx to send specific Content-Type
body: <p>How to overwrite default Content-Type in nginx? Currently when I request 01.dae file, there's            </p>
  
  <pre><code>Content-Type: application/octet-stream;
  </code></pre>
  
  <p>And I want it to be </p>
  
  <pre><code>Content-Type: application/xml;
  </code></pre>
  
  <p>I tried something like </p>
  
  <pre><code>location ~* \.dae$ {
    types { };
    default_type application/xml;
  }
  </code></pre>
  
  <p>and</p>
  
  <pre><code>location ~* \.dae$ {
    add_header Content-Type application/xml;
  }
  </code></pre>
  
  <p>but nothing works.</p>