jamebal / headscale-webui

A Tailscale-compatible orchestration server web front-end for headscale
https://headscale-webui.netlify.app
MIT License
4 stars 0 forks source link

headscale容器报ERR Could not load DERP servers map file error="open : no such file or directory" path= #2

Open catbei2020 opened 1 week ago

catbei2020 commented 1 week ago

Description

朋友,你好!最近研究headscale,刚好看到headscale-webui这个项目,很nice,支持最新的headscale0.23。 我在部署时,headscale容器一直启不来,日志报 no such file or directory"的错误(见图1),config.yaml指定derper.yml的路径是没问题的(图2),想请教你一下,盼回。

1 2

Validations

jamebal commented 1 week ago

容器有映射/opt/headscale/config/derper.yaml到宿主机吗

catbei2020 commented 1 week ago

嗯嗯,映射了,看网上说多是版本的问题,直接改成url了

catbei2020 commented 1 week ago

还有个问题想请教一下,我用宝塔面板反代时,headscale_ui页面打开空白(图1),ip+端口访问正常(图2), 图3,4,5为具体反代配置。

1 2 3 4 5

jamebal commented 1 week ago

proxy_pass http://127.0.0.1:1861/后面加个斜杠试试