天天看點

自建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