已采纳回答 / dy_ygs
这跟nginx有关,即只有response code为以下value时,才add the specified field:Adds the specified field to a response header provided that the response code equals 200, 201, 204, 206, 301, 302, 303, 304, or 307. A value can contain variables.也就是说你本身的接口返回了404,导致add_header没有...
2018-10-26