自建ngrok私服, 总是提示 Tunnel xxx.ngrok.mydomain.com not found

前面一篇帖子,记录了如何基于docker搭建ngrok私服

自己搭了一个ngrok服务器,根据提示分配也成功了,但是访问的时候总是报错 Tunnel xxx.ngrok.mydomain.com not found

查阅服务日志,找到异常

自建ngrok私服, 总是提示 Tunnel xxx.ngrok.mydomain.com not found

解决办法:

找到代理的nginx配置,去掉http_host后的端口号即可,https也照此修改,即可修复:

自建ngrok私服, 总是提示 Tunnel xxx.ngrok.mydomain.com not found