Reinis Rozitis r at
Wed Jun 21 20:34:12 UTC 2017

> The solution was to also add that header to the location{} block that I 
> use to manage the relevant static resources.

> This seems rather strange. Is it supposed to work this way?

If your location blocks contain any add_header directives then those comming 
from server {} block are ignored (and you have to repeat them).


More information about the nginx mailing list