﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
595	add_header replaces previous headers when included	Goz3rr		"My nginx config is basically the following:

{{{
http {
  #whole bunch of other options left out
  add_header ""test1"" ""value1"";
  include sites-enabled/*.conf;
}
}}}


Where a file in sites-enabled looks like this:

{{{
server {
  listen 80;
  server_name example.com;
  #root, access_log etc left out
  add_header ""test2"" ""value2"";
}
}}}


Only the test2 header shows up, while i expect both headers to show up in the output."	defect	closed	minor		nginx-core	1.7.x	invalid			Linux newton 2.6.32-042stab090.5 #1 SMP Sat Jun 21 00:15:09 MSK 2014 x86_64 GNU/Linux	"nginx version: nginx/1.7.3
built by gcc 4.7.2 (Debian 4.7.2-5)
TLS SNI support enabled
configure arguments: --prefix=/usr/local/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --pid-path=/var/run/nginx.pid --lock-path=/var/lock/nginx.lock --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --user=www-data --group=www-data --http-client-body-temp-path=/var/tmp/nginx/client/ --http-proxy-temp-path=/var/tmp/nginx/proxy/ --http-fastcgi-temp-path=/var/tmp/nginx/fcgi/ --with-ipv6 --without-http_uwsgi_module --without-http_scgi_module --with-http_flv_module --with-http_mp4_module --with-http_gzip_static_module --with-http_ssl_module --with-http_spdy_module --with-http_stub_status_module --with-mail --with-mail_ssl_module --add-module=modules/nginx-rtmp-module"
