Welcome! Log In Create A New Profile

Advanced

Re: add_header

Reinis Rozitis
June 21, 2017 04:36PM
> 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
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: 285
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