惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
The Blog of Author Tim Ferriss
罗磊的独立博客
月光博客
月光博客
GbyAI
GbyAI
腾讯CDC
G
Google Developers Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
U
Unit 42
Engineering at Meta
Engineering at Meta
A
About on SuperTechFans
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
aimingoo的专栏
aimingoo的专栏
C
Check Point Blog
Y
Y Combinator Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Microsoft Azure Blog
Microsoft Azure Blog
I
InfoQ
雷峰网
雷峰网
B
Blog RSS Feed
美团技术团队
M
MIT News - Artificial intelligence
有赞技术团队
有赞技术团队
D
Docker

Wer Blog

离去 - Wer Blog 更优雅的使用CDN - Wer Blog 极验v3滑动拼图验证码逆向与绕过 - Wer Blog 天冷了 我的博客也下雪了 - Wer Blog 2025,在代码与热爱里慢慢生长 - Wer Blog 从豆包手机被封杀到智谱开源掀桌,这些天,我看到了中国AI最精彩的一场攻防战! - Wer Blog TEWA-861G SUPERADMIN权限获取 - Wer Blog Fuwari搭建指北 - Wer Blog 回顾一下2021年9月7日我发的一个朋友圈 - Wer Blog 优化文章排序 - Wer Blog 使用RVC克隆自己的声音 - Wer Blog B站主播PK打首胜的最佳攻略 - Wer Blog 锐评B站粉丝勋章亲密度升级公告 - Wer Blog 数学期望:从理论到直播盲盒的现实应用 - Wer Blog 个人博客该何去何从 - Wer Blog Fuwari RSS 图片路径修复指北 - Wer Blog 又迁移了... - Wer Blog QQ机器人:Docker 一键部署 Koishi + NapCat 指北 - Wer Blog 旁路由新思路——“互指架构” - Wer Blog 🚀 使用Netlify反向代理网站的终极指南 🌐 - Wer Blog 一键DD脚本——快速重装纯净系统的终极解决方案 - Wer Blog 🌈 为你的Halo博客注入色彩:邮件美化模板 教程 - Wer Blog Ubuntu SSH暴力破解审查、预防 - Wer Blog (稳定)360t7 openwrt-immortalwrt 自用固件 - Wer Blog 纯净版封装镜像 - Wer Blog 备案技巧 根据访客来源屏蔽管局检查 - Wer Blog Hexo 避坑指南 - Wer Blog
1Panel部署哪吒监控 - Wer Blog
Yy · 2025-10-22 · via Wer Blog

首先先把你的域名解析到Dashboard服务器上。

安装哪吒#

搜索哪吒直接安装

配置反代#

填好必要配置,启用https

upstream dashboard {

keepalive 512;

server 127.0.0.1:8008;

}

在该处添加以上代码

location ^~ / {

proxy_pass http://127.0.0.1:8008;

proxy_set_header Host $host;

proxy_set_header X-Real-IP $remote_addr;

proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

proxy_set_header REMOTE-HOST $remote_addr;

proxy_set_header Upgrade $http_upgrade;

proxy_set_header nz-realip $http_cf_connecting_ip;

proxy_set_header Connection "upgrade";

proxy_set_header X-Forwarded-Proto $scheme;

proxy_http_version 1.1;

proxy_read_timeout 3600s;

proxy_send_timeout 3600s;

proxy_buffer_size 128k;

proxy_buffers 4 128k;

proxy_busy_buffers_size 256k;

proxy_max_temp_file_size 0;

add_header X-Cache $upstream_cache_status;

add_header Cache-Control no-cache;

proxy_ssl_server_name off;

proxy_ssl_name $proxy_host;

add_header Strict-Transport-Security "max-age=31536000";

}

underscores_in_headers on;

set_real_ip_from 0.0.0.0/0; # CDN 回源 IP 地址段

real_ip_header CF-Connecting-IP; # CDN 私有 header,此处为 CloudFlare 默认

# gRPC 服务

location ^~ /proto.NezhaService/ {

grpc_set_header Host $host;

grpc_set_header nz-realip $http_CF_Connecting_IP;

grpc_read_timeout 600s;

grpc_send_timeout 600s;

grpc_socket_keepalive on;

client_max_body_size 10m;

grpc_buffer_size 4m;

grpc_pass grpc://dashboard;

}

# WebSocket 服务

location ~* ^/api/v1/ws/(server|terminal|file)(.*)$ {

proxy_set_header Host $host;

proxy_set_header nz-realip $http_cf_connecting_ip;

proxy_set_header Origin https://$host;

proxy_set_header Upgrade $http_upgrade;

proxy_set_header Connection "upgrade";

proxy_read_timeout 3600s;

proxy_send_timeout 3600s;

proxy_pass http://127.0.0.1:8008;

}

在该处添加以上代码

哪吒面板配置#

Agent对接地址填写刚刚创建的站点域名:443

并启用TLS连接

结尾#

好了,现在Dashboard已经全部配置完成,接下来只需傻瓜式添加你需要监控的服务器即可。