process upstream ETag header
This commit is contained in:
parent
b1075ac09b
commit
ec4e1e246c
1 changed files with 6 additions and 0 deletions
|
@ -161,6 +161,12 @@ ngx_http_upstream_header_t ngx_http_upstream_headers_in[] = {
|
|||
offsetof(ngx_http_upstream_headers_in_t, last_modified),
|
||||
ngx_http_upstream_copy_last_modified, 0, 0 },
|
||||
|
||||
{ ngx_string("ETag"),
|
||||
ngx_http_upstream_process_header_line,
|
||||
offsetof(ngx_http_upstream_headers_in_t, etag),
|
||||
ngx_http_upstream_copy_header_line,
|
||||
offsetof(ngx_http_headers_out_t, etag), 0 },
|
||||
|
||||
{ ngx_string("Server"),
|
||||
ngx_http_upstream_process_header_line,
|
||||
offsetof(ngx_http_upstream_headers_in_t, server),
|
||||
|
|
Loading…
Reference in a new issue