| Syntax: | add_header name value |
| Default: | |
| Context: | http server location if in location |
| Reference: | add_header |
Adds headers to the HTTP response when the response code is equal to 200, 204, 301, 302 or 304.
Note that for headers other than Last-Modified, it just appends a new header entry to the output header list. So you can't use this directive to rewrite existing headers like Server. Use the headers_more module for it.