Skip to content

Latest commit

 

History

History
4 lines (3 loc) · 173 Bytes

webpack-dev-server changeOrigin参数.md

File metadata and controls

4 lines (3 loc) · 173 Bytes

changeOrigin

当使用webpack-dev-server做代理时,changeOrigin默认值为false,不会改变HTTP请求的HOST

Nginx会根据ServerName配置进行响应。