{"id":60756,"date":"2026-01-16T10:49:21","date_gmt":"2026-01-16T02:49:21","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/60756.html"},"modified":"2026-01-16T10:49:21","modified_gmt":"2026-01-16T02:49:21","slug":"%e9%83%a8%e7%bd%b2%e5%93%aa%e5%90%92%e6%8e%a2%e9%92%88","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/60756.html","title":{"rendered":"\u90e8\u7f72\u54ea\u5412\u63a2\u9488"},"content":{"rendered":"<h2 id=\"%E5%89%8D%E8%A8%80\">\u524d\u8a00<\/h2>\n<p>\u8fd9\u6bb5\u65f6\u95f4\u7ecf\u5e38\u542c\u5230\u8bf4\u7528\u670d\u52a1\u5668\u5b89\u88c5\u54ea\u5412\u63a2\u9488\u68c0\u6d4b\u81ea\u5df1\u7684\u670d\u52a1\u5668&#xff0c;\u4eca\u5929\u6211\u4e5f\u6765\u8bd5\u8bd5\u642d\u5efa\u4e00\u4e2a\u9002\u7528\u4e00\u4e0b\u3002\u4eca\u5929\u8fd8\u662f\u7528\u6d77\u5916\u4e91\u670d\u52a1\u5668 VMRack \u7684\u673a\u5668\u3002\u4e09\u7f51\u7cbe\u54c1\u7ebf\u8def\u4e0d\u7ba1\u662f\u5e73\u65f6\u8fd8\u662f\u665a\u4e0a\u9ad8\u5cf0\u671f\u65f6\u7f51\u901f\u90fd\u5f88\u7a33\u5b9a&#xff0c;\u6700\u4e3b\u8981\u7684\u662f\u4ef7\u683c\u4fbf\u5b9c\u3002<\/p>\n<h3 id=\"%E5%AE%89%E8%A3%85-docker\">\u5b89\u88c5 docker<\/h3>\n<p>\u4e0d\u77e5\u9053\u5b89\u88c5\u547d\u4ee4\u7684\u53ef\u4ee5\u5230\u5b98\u7f51\u4e0a\u53bb\u67e5\u627e&#xff0c;\u4e00\u5b9a\u8981\u6839\u636e\u81ea\u5df1\u670d\u52a1\u5668\u7684\u7cfb\u7edf\u6267\u884c\u76f8\u5e94\u7684\u547d\u4ee4\u3002<\/p>\n<p>\u9ed8\u8ba4\u4f7f\u7528 root \u7528\u6237<\/p>\n<p>export DOWNLOAD_URL&#061;&#034;https:\/\/mirrors.tuna.tsinghua.edu.cn\/docker-ce&#034;<br \/>\n# \u5982\u60a8\u4f7f\u7528 curl<br \/>\ncurl -fsSL https:\/\/raw.githubusercontent.com\/docker\/docker-install\/master\/install.sh | sh<br \/>\n# \u5982\u60a8\u4f7f\u7528 wget<br \/>\nwget -O- https:\/\/raw.githubusercontent.com\/docker\/docker-install\/master\/install.sh | sh<br \/>\ncurl https:\/\/c.ysicing.net\/oss\/scripts\/docker.sh | bash <\/p>\n<p>\u521d\u59cb\u5316 docker<\/p>\n<p>curl https:\/\/c.ysicing.net\/oss\/scripts\/dockerconfig.sh | bash <\/p>\n<h3 id=\"%E5%93%AA%E5%90%92%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6\">\u54ea\u5412\u914d\u7f6e\u6587\u4ef6<\/h3>\n<p>\u521b\u5efa\u76ee\u5f55<\/p>\n<p>mkdir nezha<br \/>\ntouch nezha\/config.yaml <\/p>\n<p>\u54ea\u5412\u7684\u914d\u7f6e\u6587\u4ef6 config.yaml, \u793a\u4f8b\u5982\u4e0b<\/p>\n<p>AvgPingCount: 2<br \/>\nCover: 0<br \/>\nDDNS:<br \/>\n  AccessID: &#034;&#034;<br \/>\n  AccessSecret: &#034;&#034;<br \/>\n  Enable: false<br \/>\n  MaxRetries: 3<br \/>\n  Provider: webhook<br \/>\n  WebhookHeaders: &#034;&#034;<br \/>\n  WebhookMethod: POST<br \/>\n  WebhookRequestBody: &#034;&#034;<br \/>\n  WebhookURL: &#034;&#034;<br \/>\nDebug: false<br \/>\nEnableIPChangeNotification: false<br \/>\nEnablePlainIPInNotification: false<br \/>\nGRPCHost: agent.nzops.ysicing.net<br \/>\nGRPCPort: 5555<br \/>\nHTTPPort: 80<br \/>\nIPChangeNotificationTag: default<br \/>\nIgnoredIPNotification: &#034;&#034;<br \/>\nIgnoredIPNotificationServerIDs: {}<br \/>\nLanguage: zh-CN<br \/>\nLocation: Asia\/Shanghai<br \/>\nMaxTCPPingValue: 500<br \/>\nOauth2:<br \/>\n  Admin: admin<br \/>\n  ClientID: 19507d56-xxxx<br \/>\n  ClientSecret: gto_xxxx<br \/>\n  Endpoint: https:\/\/gitea.local<br \/>\n  Type: gitea<br \/>\nProxyGRPCPort: 0<br \/>\nSite:<br \/>\n  Brand: Monitor<br \/>\n  CookieName: ops-dashboard<br \/>\n  CustomCode: &lt;script async src&#061;&#034;https:\/\/umami.external.ysicing.net\/script.js&#034; data-website-id&#061;&#034;c&#034;&gt;&lt;\/script&gt;<br \/>\n  DashboardTheme: default<br \/>\n  Theme: default<br \/>\n  ViewPassword: &#034;&#034;<br \/>\nTLS: false <\/p>\n<p>\u8fd9\u91cc\u8bf4\u4e0b\u51e0\u4e2a\u6bd4\u8f83\u91cd\u8981\u7684\u5730\u65b9<\/p>\n<ul>\n<li>\n<p>GRPCHost: agent \u8fde\u63a5\u5730\u5740<\/p>\n<\/li>\n<li>\n<p>Oauth2 \u914d\u7f6e\u7684\u5730\u65b9&#xff0c;\u6211\u793a\u4f8b\u7684\u662f\u7528 Gitea&#xff0c;\u7531\u4e8e\u67d0\u4e9b\u56e0\u7d20&#xff0c;\u54ea\u5412\u76d1\u63a7\u53ea\u652f\u6301 Oauth2 \u65b9\u5f0f&#xff0c;\u5e38\u89c1\u4f7f\u7528 Github \u65b9\u5f0f<\/p>\n<\/li>\n<\/ul>\n<p>\u54ea\u5412\u76d1\u63a7\u63a5\u5165 Github\u3001Gitlab\u3001Gitee\u3001Gitea \u4f5c\u4e3a\u540e\u53f0\u7ba1\u7406\u5458\u8d26\u53f7&#xff0c;\u8fd9\u91cc\u4e3b\u8981\u5df2\u5e38\u89c1\u7684 Github \u548c\u6211\u81ea\u7528\u7684 Gitea \u4e3a\u4f8b\u3002<\/p>\n<h4 id=\"github-%E6%96%B9%E5%BC%8F\">Github \u65b9\u5f0f<\/h4>\n<p>\u767b\u5f55 Github \u540e&#xff0c;\u6253\u5f00 Oauth App<\/p>\n<ul>\n<li>\n<p>Application name &#8211; \u968f\u610f\u586b\u5199\u3002<\/p>\n<\/li>\n<li>\n<p>Homepage URL &#8211; \u586b\u5199\u9762\u677f\u7684\u8bbf\u95ee\u57df\u540d&#xff0c;\u5982&#xff1a;&#034;http:\/\/dashboard.example.com&#034;&#xff08;\u4f60\u7684\u57df\u540d&#xff09;\u3002<\/p>\n<\/li>\n<li>\n<p>Authorization callback URL &#8211; \u586b\u5199\u56de\u8c03\u5730\u5740&#xff0c;\u5982&#xff1a;&#034;http:\/\/dashboard.example.com\/oauth2\/callback&#034;&#xff08;\u4e0d\u8981\u5fd8\u8bb0 \/oauth2\/callback&#xff09;\u3002<\/p>\n<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"450\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260116024920-6969a730285a3.png\" width=\"791\" \/><\/p>\n<p>\u4fdd\u5b58\u9875\u9762\u4e2d\u7684 Client ID&#xff0c;\u7136\u540e\u70b9\u51fb \u201cGenerate a new client secret\u201c&#xff0c;\u521b\u5efa\u4e00\u4e2a\u65b0\u7684 Client Secret&#xff0c;\u65b0\u5efa\u7684\u5bc6\u94a5\u4ec5\u4f1a\u663e\u793a\u4e00\u6b21&#xff0c;\u8bf7\u59a5\u5584\u4fdd\u5b58\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"331\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260116024920-6969a73058aff.png\" width=\"790\" \/><\/p>\n<p>\u914d\u7f6e\u6587\u4ef6<\/p>\n<p>Oauth2:<br \/>\n  Admin: ysicing #\u4f60\u7684github\u8d26\u53f7<br \/>\n  ClientID: 19507d56-xxxx # github clientid<br \/>\n  ClientSecret: gto_xxxx # github client secret<br \/>\n  Type: github <\/p>\n<h3 id=\"%E9%83%A8%E7%BD%B2%E4%BB%AA%E8%A1%A8%E9%9D%A2%E6%9D%BF\">\u90e8\u7f72\u4eea\u8868\u9762\u677f<\/h3>\n<p>services:<br \/>\n  nezha-dash:<br \/>\n    container_name: nezha-dash<br \/>\n    image: ccr.ccs.tencentyun.com\/k7scn\/nezha-dash<br \/>\n    restart: always<br \/>\n    environment:<br \/>\n      &#8211; NezhaBaseUrl&#061;&#034;\u54ea\u5412\u9762\u5305URL&#034;<br \/>\n      &#8211; NezhaAuth&#061;your-nezha-api-token<br \/>\n    ports:<br \/>\n      &#8211; &#034;3000:3000&#034; <\/p>\n<h2><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"511\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260116024920-6969a7307d4d7.png\" width=\"790\" \/><\/h2>\n<h2 id=\"%E5%88%A9%E7%94%A8cloudflare-tunnel%E9%83%A8%E7%BD%B2%E5%93%AA%E5%90%92%E6%8E%A2%E9%92%88\">\u5229\u7528Cloudflare Tunnel\u90e8\u7f72\u54ea\u5412\u63a2\u9488<\/h2>\n<p>\u6709\u4e00\u79cd\u66f4\u7b80\u5355\u3001\u66f4\u5b89\u5168\u7684\u65b9\u6cd5\u53ef\u4ee5\u4fdd\u62a4\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u548cweb\u670d\u52a1\u5668\u514d\u53d7\u76f4\u63a5\u653b\u51fb&#xff1a;Cloudflare Tunnel\u3002\u53ef\u4ee5\u501f\u52a9Cloudflare\u5b8c\u5168\u514d\u8d39\u7684Tunnel\u670d\u52a1&#xff0c;\u5feb\u901f\u5b89\u5168\u5730\u52a0\u5bc6\u5e94\u7528\u7a0b\u5e8f\u5230\u4efb\u4f55\u7c7b\u578b\u57fa\u7840\u8bbe\u65bd\u7684\u6d41\u91cf&#xff0c;\u8ba9\u60a8\u80fd\u591f\u9690\u85cf\u4f60\u7684web\u670d\u52a1\u5668IP\u5730\u5740&#xff0c;\u963b\u6b62\u76f4\u63a5\u653b\u51fb\u3002Tunnel\u540e\u53f0\u7a0b\u5e8f\u5728\u6e90web\u670d\u52a1\u5668\u548cCloudflare\u6700\u8fd1\u7684\u6570\u636e\u4e2d\u5fc3\u4e4b\u95f4\u521b\u5efa\u4e00\u6761\u52a0\u5bc6\u96a7\u9053&#xff0c;\u540c\u65f6\u65e0\u9700\u6253\u5f00\u4efb\u4f55\u516c\u5171\u5165\u7ad9\u7aef\u53e3\u3002\u4f7f\u7528\u9632\u706b\u5899\u9501\u5b9a\u6240\u6709\u6e90\u670d\u52a1\u5668\u7aef\u53e3\u548c\u534f\u8bae\u540e&#xff0c;HTTP\/S\u7aef\u53e3\u4e0a\u7684\u4efb\u4f55\u8bf7\u6c42\u90fd\u4f1a\u88ab\u4e22\u5f03&#xff0c;\u5305\u62ec\u5bb9\u91cf\u8017\u5c3dDDoS\u653b\u51fb\u3002\u6570\u636e\u6cc4\u9732\u5c1d\u8bd5\u88ab\u5b8c\u5168\u963b\u6b62&#xff0c;\u4f8b\u5982\u4f20\u8f93\u4e2d\u6570\u636e\u7aa5\u63a2\u6216\u66b4\u529b\u767b\u5f55\u653b\u51fb\u3002\u540c\u65f6Tunnel\u652f\u6301gRPC\u7684\u6d41\u91cf\u8f6c\u53d1&#xff0c;\u7528\u6765\u914d\u7f6e\u54ea\u5412\u63a2\u9488\u4e5f\u6ca1\u6709\u95ee\u9898\u3002<\/p>\n<h3 id=\"%E9%85%8D%E7%BD%AEcloudflare-tunnel\">\u914d\u7f6eCloudflare Tunnel<\/h3>\n<p>Cloudflare Tunnel\u652f\u6301\u591a\u79cd\u90e8\u7f72\u65b9\u5f0f&#xff0c;\u5e76\u4e14\u5e73\u53f0\u7684\u9002\u914d\u4e5f\u5f88\u5b8c\u5584&#xff0c;\u5177\u4f53\u9879\u76ee\u4fe1\u606f\u53ef\u4ee5\u4eceGithub\u4e0a\u67e5\u770b\u3002\u4e0b\u9762\u4ee5Debian\u4e3a\u4f8b&#xff0c;\u7b80\u5355\u4ecb\u7ecd\u4e00\u4e0b\u5b89\u88c5\u65b9\u6cd5\u3002<\/p>\n<p>\u5728Cloudflare Dashboard\u4e2d\u65b0\u5efa\u4e00\u4e2a\u96a7\u9053&#xff0c;\u4e4b\u540e\u4f60\u53ef\u4ee5\u83b7\u5f97\u4e00\u4e32\u5bc6\u94a5&#xff0c;\u4e4b\u540e\u4e0b\u8f7d\u5408\u9002\u7684deb\u5b89\u88c5\u5305<\/p>\n<p>curl -L &#8211;output cloudflared.deb https:\/\/github.com\/cloudflare\/cloudflared\/releases\/latest\/download\/cloudflared-linux-arm64.deb <\/p>\n<p>\u7136\u540e\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u4e00\u952e\u5b89\u88c5<\/p>\n<p>sudo dpkg -i cloudflared.deb &amp;&amp; sudo cloudflared service install eyJhI&#8230; <\/p>\n<p>\u6ce8\u610f&#xff1a;\u8fd9\u6837\u901a\u8fc7\u5b98\u7f51service install\u4e00\u952e\u5b89\u88c5\u7684\u65b9\u5f0f\u9700\u8981\u5728\/etc\/systemd\/system\/cloudflared.service\u4e2d\u589e\u52a0&#8211;protocol http2\u53c2\u6570<\/p>\n<p>ExecStart&#061;\/usr\/bin\/cloudflared &#8211;no-autoupdate tunnel run &#8211;protocol http2 &#8211;token eyJhI&#8230; <\/p>\n<p>\u66f4\u63a8\u8350\u4f7f\u7528Docker\u5b89\u88c5&#xff0c;\u90e8\u7f72\u65b9\u5f0f\u5982\u4e0b&#xff1a;<\/p>\n<p>docker run -d \\\\<br \/>\n    &#8211;name cloudflared \\\\<br \/>\n    &#8211;restart always \\\\<br \/>\n    &#8211;network host \\\\<br \/>\n    cloudflare\/cloudflared:latest \\\\<br \/>\n    tunnel &#8211;no-autoupdate &#8211;edge-ip-version auto run &#8211;protocol http2 &#8211;token eyJhI&#8230; <\/p>\n<p>\u5b98\u65b9\u53ea\u63d0\u4f9bamd64\u53caarm64\u7684docker\u955c\u50cf&#xff0c;\u5176\u4ed6\u67b6\u6784\u53ef\u8003\u8651\u91c7\u7528\u7b2c\u4e09\u65b9\u955c\u50cf&#xff1a;<\/p>\n<p>docker run -d \\\\<br \/>\n    &#8211;name cloudflared \\\\<br \/>\n    &#8211;restart always \\\\<br \/>\n    &#8211;network host \\\\<br \/>\n    laveao\/cloudflared:latest \\\\<br \/>\n    tunnel &#8211;no-autoupdate &#8211;edge-ip-version auto run &#8211;protocol http2 &#8211;token eyJhI&#8230; <\/p>\n<p>\u914d\u7f6e\u96a7\u9053\u65f6\u5982\u679c\u4f60\u76f4\u63a5\u7a7f\u900fweb\u670d\u52a1&#xff0c;\u4f60\u53ef\u4ee5\u8bbe\u7f6e\u5230\u76ee\u6807\u7aef\u53e3&#xff0c;\u5982http:\/\/0.0.0.0:12345\u3002\u53cd\u4ee3\u54ea\u5412\u9762\u677f\u9700\u8981\u91c7\u7528Tunnel&#043;Nginx\u8fd9\u6837\u7684\u7ec4\u5408&#xff0c;\u4f60\u7684\u670d\u52a1\u5fc5\u987b\u4f7f\u7528https\u534f\u8bae&#xff0c;\u8bbe\u7f6eService\u4e3ahttps:\/\/0.0.0.0:443&#xff0c;\u540c\u65f6\u9700\u8981\u6253\u5f00No TLS Verify\u548cHTTP2 connection Origin&#xff0c;\u5e76\u914d\u7f6e\u597dServer Name\u548cHTTP Host Header\u3002<\/p>\n<h3 id=\"%E9%83%A8%E7%BD%B2%E5%93%AA%E5%90%92%E6%8E%A2%E9%92%88\">\u90e8\u7f72\u54ea\u5412\u63a2\u9488<\/h3>\n<p>\u54ea\u5412\u63a2\u9488\u7684\u90e8\u7f72\u5b98\u7f51\u5f88\u8be6\u7ec6&#xff0c;\u4f60\u53ef\u4ee5\u8f7b\u677e\u7684\u4f7f\u7528Docker\u90e8\u7f72<\/p>\n<p>docker run -d \\\\<br \/>\n    &#8211;name nezha \\\\<br \/>\n    &#8211;restart always \\\\<br \/>\n    &#8211;network host \\\\<br \/>\n    -v \/opt\/nezha\/dashboard\/data:\/dashboard\/data \\\\<br \/>\n    ghcr.io\/nezhahq\/nezha <\/p>\n<p>\u65b0\u7248\u54ea\u5412\u62c9\u53d6\u955c\u50cf\u542f\u52a8\u540e\u5728\u8bbe\u7f6e\u9875\u9762\u5373\u53ef\u914d\u7f6econfig.yaml&#xff0c;\u65e0\u9700\u63d0\u524d\u5199\u597d\u914d\u7f6e\u6587\u4ef6\u3002<\/p>\n<p>\u8fdb\u9636&#xff1a;\u5982\u679c\u60f3\u8981\u81ea\u5b9a\u4e49\u524d\u7aef\u4e3b\u9898\u53ef\u4ee5\u6dfb\u52a0\u524d\u7aef\u6587\u4ef6\u76ee\u5f55\u7684\u6620\u5c04&#xff0c;\u5177\u4f53\u5982\u4e0b&#xff1a;<\/p>\n<p>docker run -d \\\\<br \/>\n    &#8211;name nezha \\\\<br \/>\n    &#8211;restart always \\\\<br \/>\n    &#8211;network host \\\\<br \/>\n    -v \/opt\/nezha\/dashboard\/data:\/dashboard\/data \\\\<br \/>\n    -v \/opt\/nezha\/dashboard\/user-dist:\/dashboard\/user-dist \\\\<br \/>\n    ghcr.io\/nezhahq\/nezha <\/p>\n<p>\u6620\u5c04\u540e\u9700\u8981\u5728GitHub\u4e0b\u8f7d\u4e3b\u9898\u5e76\u89e3\u538b\u5230\/opt\/nezha\/dashboard\/user-dist\u5185\u5e76docker restart nezha\u91cd\u542f\u5bb9\u5668&#xff0c;\u5373\u53ef\u5e94\u7528\u4e3b\u9898\u3002\u9644\u4e0a\u65b0\u7248\u54ea\u5412\u7684\u9ed8\u8ba4\u524d\u7aefNazhe Dash\u3002<\/p>\n<h3 id=\"%E9%83%A8%E7%BD%B2nginx%E8%BD%AC%E5%8F%91\">\u90e8\u7f72Nginx\u8f6c\u53d1<\/h3>\n<p>\u8fd9\u5757\u6bd4\u8f83\u7b80\u5355&#xff0c;\u53ef\u4ee5\u901a\u8fc7\u76d1\u63a7\/proto.NezhaService,\u533a\u5206\u4e0d\u540c\u6d41\u91cf&#xff0c;\u76f4\u63a5\u8d34\u51fa\u6211\u7684\u914d\u7f6e\u4f9b\u53c2\u8003&#xff0c;\u8bc1\u4e66\u4f4d\u7f6e&#xff0c;\u7aef\u53e3\u7b49\u89c6\u60c5\u51b5\u4fee\u6539\u3002<\/p>\n<p>server {<br \/>\n    listen 443 ssl;<br \/>\n    listen [::]:443 ssl;<br \/>\n    http2 on;<br \/>\n    server_tokens off;<br \/>\n    ssl_certificate    \/opt\/cert\/web.crt;<br \/>\n    ssl_certificate_key    \/opt\/cert\/web.key;<br \/>\n    ssl_session_timeout 1d;<br \/>\n    ssl_session_tickets off;<br \/>\n    ssl_protocols TLSv1.2 TLSv1.3;<br \/>\n    ssl_ciphers HIGH:!aNULL:!MD5;<br \/>\n    ssl_prefer_server_ciphers on;<br \/>\n    server_name status.canghai.org;<\/p>\n<p>    underscores_in_headers on;<br \/>\n    set_real_ip_from 0.0.0.0\/0;<br \/>\n    real_ip_header CF-Connecting-IP;<\/p>\n<p>    location ^~ \/proto.NezhaService\/ {<br \/>\n        grpc_set_header Host $host;<br \/>\n        grpc_set_header nz-realip $http_cf_connecting_ip;<br \/>\n        grpc_read_timeout 600s;<br \/>\n        grpc_send_timeout 600s;<br \/>\n        grpc_socket_keepalive on;<br \/>\n        client_max_body_size 10m;<br \/>\n        grpc_buffer_size 4m;<br \/>\n        grpc_pass grpc:\/\/dashboard;<br \/>\n    }<\/p>\n<p>    location ~* ^\/api\/v1\/ws\/(server|terminal|file)(.*)$ {<br \/>\n        proxy_set_header Host $host;<br \/>\n        proxy_set_header nz-realip $http_cf_connecting_ip;<br \/>\n        proxy_set_header Origin https:\/\/$host;<br \/>\n        proxy_set_header Upgrade $http_upgrade;<br \/>\n        proxy_set_header Connection &#034;upgrade&#034;;<br \/>\n        proxy_read_timeout 3600s;<br \/>\n        proxy_send_timeout 3600s;<br \/>\n        proxy_pass http:\/\/127.0.0.1:5015;<br \/>\n    }<\/p>\n<p>    location \/ {<br \/>\n        proxy_set_header Host $host;<br \/>\n        proxy_set_header nz-realip $http_cf_connecting_ip;<br \/>\n        proxy_read_timeout 3600s;<br \/>\n        proxy_send_timeout 3600s;<br \/>\n        proxy_buffer_size 128k;<br \/>\n        proxy_buffers 4 256k;<br \/>\n        proxy_busy_buffers_size 256k;<br \/>\n        proxy_max_temp_file_size 0;<br \/>\n        proxy_pass http:\/\/127.0.0.1:5015;<br \/>\n    }<br \/>\n}<\/p>\n<p>upstream dashboard {<br \/>\n    server 127.0.0.1:5015;<br \/>\n    keepalive 512;<br \/>\n} <\/p>\n<h3 id=\"%E6%8E%A2%E9%92%88%E8%87%AA%E5%AE%9A%E4%B9%89%E4%BB%A3%E7%A0%81\">\u63a2\u9488\u81ea\u5b9a\u4e49\u4ee3\u7801<\/h3>\n<h4 id=\"%E5%89%8D%E7%AB%AF%E8%87%AA%E5%AE%9A%E4%B9%89\">\u524d\u7aef\u81ea\u5b9a\u4e49<\/h4>\n<p>&lt;link rel&#061;&#034;stylesheet&#034; href&#061;&#034;https:\/\/registry.npmmirror.com\/lxgw-wenkai-screen-web\/latest\/files\/style.css&#034; \/&gt;<br \/>\n&lt;style&gt;<br \/>\n  * {<br \/>\n    font-family: LXGW WenKai Screen !important;<br \/>\n  }<\/p>\n<p>  #root &gt; div &gt; main &gt; div.mx-auto.w-full.max-w-5xl.px-0 &gt; div &gt; section &gt; button:nth-child(1) {<br \/>\n    display: none !important;<br \/>\n  }<\/p>\n<p>  #root &gt; div &gt; main &gt; div.mx-auto.w-full.max-w-5xl.px-0 &gt; div &gt; section &gt; button:nth-child(2) {<br \/>\n    display: none !important;<br \/>\n  }<\/p>\n<p>  #root &gt; div &gt; main &gt; div:nth-child(1) &gt; section.mt-10.flex.flex-col.md\\\\:mt-16.header-timer {<br \/>\n    display: none !important;<br \/>\n  }<\/p>\n<p>  #root &gt; div &gt; main &gt; div:nth-child(1) &gt; section.flex.items-center.justify-between.header-top &gt; section.flex.items-center.gap-2.header-handles &gt; div {<br \/>\n    display: none !important;<br \/>\n  }<\/p>\n<p>  #root &gt; div &gt; main &gt; div:nth-child(1) &gt; div &gt; div {<br \/>\n    display: none !important;<br \/>\n  }<\/p>\n<p>  #root &gt; div &gt; main &gt; div.mx-auto.w-full.max-w-5xl.px-0 &gt; section.grid.grid-cols-2.gap-4.lg\\\\:grid-cols-4.server-overview {<br \/>\n    display: none !important;<br \/>\n  }<\/p>\n<p>  #root &gt; div &gt; main &gt; footer &gt; section {<br \/>\n    display: none !important;<br \/>\n  }<br \/>\n&lt;\/style&gt;<br \/>\n&lt;script&gt;<br \/>\n  window.CustomLogo &#061; &#034;https:\/\/status.canghai.org\/dashboard\/logo.svg&#034;;<br \/>\n  window.ForceUseSvgFlag &#061; true;<br \/>\n  window.ForcePeakCutEnabled &#061; true;<br \/>\n  const isMobile &#061; window.matchMedia(&#034;(max-width: 768px)&#034;).matches;<br \/>\n  window.ForceCardInline &#061; !isMobile;<br \/>\n&lt;\/script&gt; <\/p>\n<h4 id=\"%E5%90%8E%E7%AB%AF%E8%87%AA%E5%AE%9A%E4%B9%89\">\u540e\u7aef\u81ea\u5b9a\u4e49<\/h4>\n<p>&lt;link rel&#061;&#034;stylesheet&#034; href&#061;&#034;https:\/\/registry.npmmirror.com\/lxgw-wenkai-screen-web\/latest\/files\/style.css&#034; \/&gt;<br \/>\n&lt;style&gt;<br \/>\n    html {<br \/>\n        font-family: LXGW WenKai Screen !important;<br \/>\n    }<br \/>\n&lt;\/style&gt;<br \/>\n&lt;script&gt;<br \/>\n    window.DisableAnimatedMan &#061; true;<br \/>\n&lt;\/script&gt; <\/p>\n<h2 id=\"%E6%80%BB%E7%BB%93\">\u603b\u7ed3<\/h2>\n<p>\u4ee5\u4e0a\u5c31\u662f\u535a\u4e3b\u5206\u4eab\u7684\u4e24\u79cd\u5b89\u88c5\u54ea\u5412\u63a2\u9488\u7684\u65b9\u5f0f&#xff0c;\u5404\u6709\u5404\u7684\u4f18\u70b9\u3002\u7b2c\u4e00\u79cd\u5bf9\u670d\u52a1\u5668\u7684\u6027\u80fd\u8981\u6c42\u8f83\u9ad8&#xff0c;\u7b2c\u4e8c\u79cd\u501f\u52a9\u4e86\u5927\u5382Cloudflare \u7684\u4f18\u52bf\u5b89\u88c5\u66f4\u52a0\u7684\u7b80\u5355\u3002<\/p>\n<p>\u672c\u6587\u9996\u53d1\u4e8e\u6211\u7684\u535a\u5ba2:landonVPS<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00<br \/>\n\u8fd9\u6bb5\u65f6\u95f4\u7ecf\u5e38\u542c\u5230\u8bf4\u7528\u670d\u52a1\u5668\u5b89\u88c5\u54ea\u5412\u63a2\u9488\u68c0\u6d4b\u81ea\u5df1\u7684\u670d\u52a1\u5668&#xff0c;\u4eca\u5929\u6211\u4e5f\u6765\u8bd5\u8bd5\u642d\u5efa\u4e00\u4e2a\u9002\u7528\u4e00\u4e0b\u3002\u4eca\u5929\u8fd8\u662f\u7528\u6d77\u5916\u4e91\u670d\u52a1\u5668 VMRack \u7684\u673a\u5668\u3002\u4e09\u7f51\u7cbe\u54c1\u7ebf\u8def\u4e0d\u7ba1\u662f\u5e73\u65f6\u8fd8\u662f\u665a\u4e0a\u9ad8\u5cf0\u671f\u65f6\u7f51\u901f\u90fd\u5f88\u7a33\u5b9a&#xff0c;\u6700\u4e3b\u8981\u7684\u662f\u4ef7\u683c\u4fbf\u5b9c\u3002<br \/>\n\u5b89\u88c5 docker<br \/>\n\u4e0d\u77e5\u9053\u5b89\u88c5\u547d\u4ee4\u7684\u53ef\u4ee5\u5230\u5b98\u7f51\u4e0a\u53bb\u67e5\u627e&#xff0c;\u4e00\u5b9a\u8981\u6839\u636e\u81ea\u5df1\u670d\u52a1\u5668\u7684\u7cfb\u7edf\u6267\u884c\u76f8\u5e94\u7684\u547d\u4ee4\u3002<br \/>\n\u9ed8\u8ba4\u4f7f\u7528 root \u7528\u6237<br \/>\nexport DOWNLOAD_URL\\&#8221;https:\/\/mirrors.tuna.tsi<\/p>\n","protected":false},"author":2,"featured_media":60753,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[43,44],"topic":[],"class_list":["post-60756","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u90e8\u7f72\u54ea\u5412\u63a2\u9488 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/60756.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u90e8\u7f72\u54ea\u5412\u63a2\u9488 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u524d\u8a00 \u8fd9\u6bb5\u65f6\u95f4\u7ecf\u5e38\u542c\u5230\u8bf4\u7528\u670d\u52a1\u5668\u5b89\u88c5\u54ea\u5412\u63a2\u9488\u68c0\u6d4b\u81ea\u5df1\u7684\u670d\u52a1\u5668&#xff0c;\u4eca\u5929\u6211\u4e5f\u6765\u8bd5\u8bd5\u642d\u5efa\u4e00\u4e2a\u9002\u7528\u4e00\u4e0b\u3002\u4eca\u5929\u8fd8\u662f\u7528\u6d77\u5916\u4e91\u670d\u52a1\u5668 VMRack \u7684\u673a\u5668\u3002\u4e09\u7f51\u7cbe\u54c1\u7ebf\u8def\u4e0d\u7ba1\u662f\u5e73\u65f6\u8fd8\u662f\u665a\u4e0a\u9ad8\u5cf0\u671f\u65f6\u7f51\u901f\u90fd\u5f88\u7a33\u5b9a&#xff0c;\u6700\u4e3b\u8981\u7684\u662f\u4ef7\u683c\u4fbf\u5b9c\u3002 \u5b89\u88c5 docker \u4e0d\u77e5\u9053\u5b89\u88c5\u547d\u4ee4\u7684\u53ef\u4ee5\u5230\u5b98\u7f51\u4e0a\u53bb\u67e5\u627e&#xff0c;\u4e00\u5b9a\u8981\u6839\u636e\u81ea\u5df1\u670d\u52a1\u5668\u7684\u7cfb\u7edf\u6267\u884c\u76f8\u5e94\u7684\u547d\u4ee4\u3002 \u9ed8\u8ba4\u4f7f\u7528 root \u7528\u6237 export DOWNLOAD_URL&quot;https:\/\/mirrors.tuna.tsi\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/60756.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-01-16T02:49:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260116024920-6969a730285a3.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/60756.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/60756.html\",\"name\":\"\u90e8\u7f72\u54ea\u5412\u63a2\u9488 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-01-16T02:49:21+00:00\",\"dateModified\":\"2026-01-16T02:49:21+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/60756.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/60756.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/60756.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u90e8\u7f72\u54ea\u5412\u63a2\u9488\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u90e8\u7f72\u54ea\u5412\u63a2\u9488 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/60756.html","og_locale":"zh_CN","og_type":"article","og_title":"\u90e8\u7f72\u54ea\u5412\u63a2\u9488 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u524d\u8a00 \u8fd9\u6bb5\u65f6\u95f4\u7ecf\u5e38\u542c\u5230\u8bf4\u7528\u670d\u52a1\u5668\u5b89\u88c5\u54ea\u5412\u63a2\u9488\u68c0\u6d4b\u81ea\u5df1\u7684\u670d\u52a1\u5668&#xff0c;\u4eca\u5929\u6211\u4e5f\u6765\u8bd5\u8bd5\u642d\u5efa\u4e00\u4e2a\u9002\u7528\u4e00\u4e0b\u3002\u4eca\u5929\u8fd8\u662f\u7528\u6d77\u5916\u4e91\u670d\u52a1\u5668 VMRack \u7684\u673a\u5668\u3002\u4e09\u7f51\u7cbe\u54c1\u7ebf\u8def\u4e0d\u7ba1\u662f\u5e73\u65f6\u8fd8\u662f\u665a\u4e0a\u9ad8\u5cf0\u671f\u65f6\u7f51\u901f\u90fd\u5f88\u7a33\u5b9a&#xff0c;\u6700\u4e3b\u8981\u7684\u662f\u4ef7\u683c\u4fbf\u5b9c\u3002 \u5b89\u88c5 docker \u4e0d\u77e5\u9053\u5b89\u88c5\u547d\u4ee4\u7684\u53ef\u4ee5\u5230\u5b98\u7f51\u4e0a\u53bb\u67e5\u627e&#xff0c;\u4e00\u5b9a\u8981\u6839\u636e\u81ea\u5df1\u670d\u52a1\u5668\u7684\u7cfb\u7edf\u6267\u884c\u76f8\u5e94\u7684\u547d\u4ee4\u3002 \u9ed8\u8ba4\u4f7f\u7528 root \u7528\u6237 export DOWNLOAD_URL\"https:\/\/mirrors.tuna.tsi","og_url":"https:\/\/www.wsisp.com\/helps\/60756.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-01-16T02:49:21+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260116024920-6969a730285a3.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"5 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/60756.html","url":"https:\/\/www.wsisp.com\/helps\/60756.html","name":"\u90e8\u7f72\u54ea\u5412\u63a2\u9488 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-01-16T02:49:21+00:00","dateModified":"2026-01-16T02:49:21+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/60756.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/60756.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/60756.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u90e8\u7f72\u54ea\u5412\u63a2\u9488"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/60756","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=60756"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/60756\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/60753"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=60756"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=60756"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=60756"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=60756"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}