COP icon indicating copy to clipboard operation
COP copied to clipboard

nginx代理访问时,返回500 ,追加请求头后,返回200 出错了画面

Open pengbo-god opened this issue 3 years ago • 0 comments

应用在内网,访问接口需要通过nginx做代理转发,本地不通过转发时候,没有问题,但通过nginx转发时,返回

接口返回responseCode异常,code为:500异常内容:{"message":"An unexpected error occurred"}

nginx追加请求头配置后,返回html

ERROR! This page can't be displayed. Contact support for additional information. 7036308075317273115.

出错了! 页面无法显示。 请联系支持人员了解更多信息。 7036308075317273115.

pengbo-god avatar Nov 17 '22 09:11 pengbo-god