06 2022 档案
摘要:原因: nginx作为代理服务器先拦截客户端发来的请求,它再以localhost的身份转发给tomcat去处理。 解决办法:在nginx配置中的location节点中添加: proxy_set_header Host $host; proxy_set_header X-Real-IP $remote
阅读全文
posted @ 2022-06-19 17:09
王卫朋

浙公网安备 33010602011771号