Re: understanding break and add_header combo

2013-05-03 Thread flarik
Francis Daly Wrote: --- Hello Francis, thanks for your response. > In nginx, one request is handled in one location. So I expect that no more > than one set of add_header directives will apply. And as you only show > regex locations, if the fir

Re: understanding break and add_header combo

2013-05-02 Thread Francis Daly
On Thu, May 02, 2013 at 11:53:12AM -0400, flarik wrote: Hi there, > location ~ ^/assets/ { > location ~* \.(ttf|ttc|otf|eot|woff)$ { > Now the add_header stuff for webfonts is never set, and I do not understand > why break has a part in this. When I remove break; it works, > when i put the

understanding break and add_header combo

2013-05-02 Thread flarik
Hello, I'm trying to undestand the break; statement in combination with add_header combo, on the wiki it says the following: "Completes the current set of rules. Continue processing within the current location block but do not process any more rewrite directives." I read this as everything that