host-switch-plus icon indicating copy to clipboard operation
host-switch-plus copied to clipboard

Invalid Host header 是什么原因啊?

Open wanCheng7 opened this issue 7 years ago • 1 comments

配置两组本地代理时,第一组配到127.0.0.1:8082,成功生效了,当我想再配置一组到127.0.0.1:8080时就失败了,显示Invalid Host header,求解???

wanCheng7 avatar Nov 12 '18 10:11 wanCheng7

不大确定什么原因,可能是你访问的页面服务有检查 Host Header 的逻辑吧。

Webpack 服务的话,参考 https://blog.csdn.net/salmonellavaccine/article/details/75332654

Riant avatar Nov 13 '18 03:11 Riant