Welcome! Log In Create A New Profile

Advanced

Does the nginx support "Header append ..."?

February 28, 2011 04:36AM
For Apache Httpd the "Header" directive can "append" a value to the exsisting headers of the same name.

e.g.

Before: Vary: Host

Header append Vary User-Agent

After: Vary: Host, User-Agent


But for Nginx, neither "add_header" nor "more_set_headers" directive can "append" a value to an exsisting headers.

Especially, the "more_set_headers" will create a duplicate headers of the same name. i.e.

Vary: Host
Vary: User-Agent

So, What's the reason for it? How should I do for the "append"?
Subject Author Posted

Does the nginx support "Header append ..."?

sunjipeng_neu February 28, 2011 04:36AM

Re: Does the nginx support "Header append ..."?

agentzh March 01, 2011 04:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 210
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