Does anyone know how with the following location block in nginx:
<code>location / {
try_files $uri /index.html;
}
</code>
<code>location / {
try_files $uri /index.html;
}
</code>
location / {
try_files $uri /index.html;
}
How can I add a header to only text/html files instead of everything? As i cant figure out how to put a check/if statment on it just for the text/html files.