add_header

steve steve at greengecko.co.nz
Wed Jun 21 20:44:11 UTC 2017


That'll be it then. I'd added cache control headers.

Thanks for the swift reply. Mass edit coming up!

Steve


On 22/06/17 08:34, Reinis Rozitis wrote:
>> 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).
>
>
> rr
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

-- 
Steve Holdoway BSc(Hons) MIITP
https://www.greengecko.co.nz/
Linkedin: https://www.linkedin.com/in/steveholdoway
Skype: sholdowa



More information about the nginx mailing list