title: Nginx - how to add header for index.html when using try_files
body: <p>I have the following config (for an Angular app):</p>
  
  <pre><code>location / {
      try_files $uri /index.html;
      add_header "Cache-Control" "no-cache" ;
  }
  </code></pre>
  
  <p>Now I would like to add that header only for <code>index.html</code>, but not for any other files. How to do that?</p>