NGROK——Invalid Host header

简介: NGROK——Invalid Host header

前言

本地的vue项目,内网穿透给外部人查看,访问链接的时候,提示Invalid Host header

内容

webpack.dev.config.js配置文件中的devServer增加disableHostCheck: true

module.exports = {
  devServer: {
    open: true,
    // 内网穿透
    disableHostCheck: true
  },
}

学无止境,谦卑而行.

目录
相关文章
|
应用服务中间件 nginx
HOST 碰撞
HOST 碰撞
82 0
|
网络安全 开发工具 git
Unable to negotiate with xx.xxx.xxxx port 22: no matching host key type found. Their offer: ssh-rsa(解决的两种方式)
Unable to negotiate with xx.xxx.xxxx port 22: no matching host key type found. Their offer: ssh-rsa(解决的两种方式)
3863 0
Unable to negotiate with xx.xxx.xxxx port 22: no matching host key type found. Their offer: ssh-rsa(解决的两种方式)
|
开发工具 数据安全/隐私保护 git
Git报错:remote: HTTP Basic: Access denied的解决方法
Git报错:remote: HTTP Basic: Access denied的解决方法
2090 0
Git报错:remote: HTTP Basic: Access denied的解决方法
|
2月前
|
安全 关系型数据库 MySQL
bah-host碰撞-pspy+sheallinabox
bah-host碰撞-pspy+sheallinabox
21 1
|
2月前
|
安全 应用服务中间件 网络安全
修复HTTPS升级后出现 Mixed Content: The page at 'https://xxx' was loaded over HTTPS, but requested an insecure frame 'http://xxx'. This request has been blocked; the content must be served over HTTPS. 的问题
修复HTTPS升级后出现 Mixed Content: The page at 'https://xxx' was loaded over HTTPS, but requested an insecure frame 'http://xxx'. This request has been blocked; the content must be served over HTTPS. 的问题
|
7月前
|
缓存 网络安全 开发工具
Git服务器报错:host key for (ip地址) has changed and you have requested strict checking
Git服务器报错:host key for (ip地址) has changed and you have requested strict checking
543 0
|
网络安全 数据安全/隐私保护
【已解决】mac端 sourceTree 解决remote: HTTP Basic: Access denied报错
又是在一次使用sourcetree拉取或者提交代码时候,遇到了sourcetree报错; 排查了一会,比如查看了SSH keys是否有问题、是否与sourcetree账户状态有问题等等,最终才发现并解决问题
内网穿透报错 Invalid Host header
内网穿透报错 Invalid Host header
573 0
|
应用服务中间件
Error:Remote staging type or host is not specified.
Error:Remote staging type or host is not specified.
174 0
|
开发工具 数据安全/隐私保护 git
git 报错:remote: HTTP Basic: Access denied
git 报错:remote: HTTP Basic: Access denied
235 0
git 报错:remote: HTTP Basic: Access denied