摘要:
错误信息:upstream prematurely closed connection while reading response header from upstream, 错误现象:nginx正常接收请求,正常调用后台接口,正常获取接口返回信息,但是请求已经中断 解决方案: location
阅读全文
posted @ 2019-08-02 14:48
程序员丁先生
阅读(4260)
推荐(0)
编辑
摘要:
只需要在Nginx的配置文件中配置以下参数: location / { add_header Access-Control-Allow-Origin *; add_header Access-Control-Allow-Methods 'GET, POST, OPTIONS'; add_header
阅读全文
posted @ 2019-08-02 10:57
程序员丁先生
阅读(167)
推荐(0)
编辑