Git Product home page Git Product logo

Comments (1)

fscarmen2 avatar fscarmen2 commented on June 16, 2024

可以的,要求你的面板是安装有公网入口vps上,如果是nat鸡,就要有nat映射。如果是容器平台没有公网入口的话,就不行了。
具体做法:
1.查一下 grpc 用哪个端口,官方是 5555,本项目的脚本默认5002,具体你可以通过 grep -i '^grpcport' /opt/nezha/dashboard/data/config.yaml 查,比如就是 5002
2.你可以在cf上做个dns,记得小彩云一定一定不要打开,比如你绑定 dns 为 data.nezha.com
3.不要用哪吒管理面板后台给到的安装地址,因为那个是加了 --tls 和 argo 域名的,你直连要用第2步的地址,为 data.nezha.com,端口要用第1步的端口,不要加 --tls。如 curl -L https://raw.githubusercontent.com/naiba/nezha/master/script/install.sh -o nezha.sh && chmod +x nezha.sh && ./nezha.sh install_agent data.nezha.com 5002 YzxL92z1A2OLrnVnN3

如果你用安装脚本的交互安装,以上面的3步为例子
请输入一个解析到面板所在IP的域名(不可套CDN): data.nezha.com
请输入面板RPC端口 (默认值 5555): 5002
密钥请输入Agent 密钥: YzxL92z1A2OLrnVnN3
是否启用针对 gRPC 端口的 SSL/TLS加密 (--tls),需要请按 [y],默认是不需要,不理解用户可回车跳过: <直接跳过>

from argo-nezha-service-container.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.