带有Nginx和Chrome的通配符* .localhost SSL

带有Nginx和Chrome的通配符* .localhost SSL

我尝试使用Nginx代理对localhost:3000的请求为HTTP和HTTPS设置通配符* .localhost. DNSmasq用于将* .localhost解析为127.0.0.1.一切都适用于HTTP,但HTTPS连接在Google Chrome中收到以下错误:There are issues with the sites certificate