perusio / drupal-with-nginx

Running Drupal using nginx: an idiosyncratically crafted bleeding edge configuration.
854 stars 246 forks source link

Adding headers to included files / sub-scopes drops those set earlier #212

Open colans opened 9 years ago

colans commented 9 years ago

From the documentation:

There could be several add_header directives. These directives are inherited from the previous level if and only if there are no add_header directives defined on the current level.

So we should keep these in nginx.conf. Currently, the ones causing me problems are the following:

...and several in apps/drupal/microcache_fcgi.conf