https://isedu.top/index.php/archives/192/ 搭建 headscale, 其中跑 webui 总是提示出错, 搞了一轮都无法解决, 问题大概出在哪里?
docker run -d
--name headscale-webui
--restart always
-v /home/docker/headscale/config:/etc/headscale/:ro
-v /home/docker/headscale/web-ui/data:/data
-u root
-p 5000:5000
-e HS_SERVER=https://headscale.amjun.com \ #
-e DOMAIN_NAME=https://headscale.amjun.com \ # 反向代理后的域名,必须要先设置好!
-e SCRIPT_NAME=/admin
-e AUTH_TYPE=Basic
-e BASIC_AUTH_USER=admin
-e BASIC_AUTH_PASS=admin
-e KEY="2uHP6BSVocX+wcWU5mzuXA7JvnZA70UaTadB8L1heOo="
--restart always
ifargle/headscale-webui:latest
|