more_set_headers会替换掉同名header, 避免出现两个同名header的情况

more_set_headers 参考:https://github.com/openresty/headers-more-nginx-module#more_set_headers

syntax: more_set_headers [-t <content-type list>]... [-s <status-code list>]... <new-header>...


default: no


context: http, server, location, location if


phase: output-header-filter


Replaces (if any) or adds (if not any) the specified output headers when the response status code matches the codes specified by the -s option AND the response content type ma