Welcome! Log In Create A New Profile

Advanced

Re: add_header

June 21, 2017 04:46PM
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@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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

add_header

GreenGecko June 21, 2017 03:50PM

Re: add_header

Reinis Rozitis June 21, 2017 04:36PM

Re: add_header

GreenGecko June 21, 2017 04:46PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 297
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready