{"id":363,"date":"2024-04-22T20:03:20","date_gmt":"2024-04-22T12:03:20","guid":{"rendered":"https:\/\/blog.laning.org\/?p=363"},"modified":"2025-03-21T00:23:34","modified_gmt":"2025-03-20T16:23:34","slug":"%e5%93%aa%e5%90%92%e7%9b%91%e6%8e%a7%e9%83%a8%e7%bd%b2","status":"publish","type":"post","link":"https:\/\/blog.laning.org\/index.php\/2024\/04\/22\/363\/","title":{"rendered":"\u54ea\u5412\u76d1\u63a7\u90e8\u7f72"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u6f14\u793a\u7ad9\u70b9<\/h2>\n\n\n\n<p><a href=\"https:\/\/dash.laning.org\/\">laning&#8217;s dashboard<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u9879\u76ee\u8d77\u56e0<\/h2>\n\n\n\n<p>\u624b\u4e0a\u7684vps\u9010\u6e10\u591a\u4e86\u8d77\u6765\uff0c\u8fd8\u662f\u53ef\u4ee5\u73a9\u4e00\u4e0b\u76d1\u63a7\u9762\u677f<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e3b\u8981\u7279\u6027<\/h2>\n\n\n\n<p>cloudflare CDN + caddy\u53cd\u4ee3<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u90e8\u7f72\u8fc7\u7a0b<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u5b98\u65b9\u53c2\u8003\u6587\u6863<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">\u6587\u6863\u5730\u5740<\/h4>\n\n\n\n<p><a href=\"https:\/\/nezha.wiki\/guide\/dashboard.html\">\u54ea\u5412\u76d1\u63a7 | \u54ea\u5412\u76d1\u63a7 (nezha.wiki)<\/a><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u4e3b\u8981\u6b65\u9aa4<\/h4>\n\n\n\n<p>\u53c2\u8003\u6587\u6863\u62c9\u53d6\u6e90\u7801\u5e76docker\u90e8\u7f72\uff0c\u63a5\u5165github\u4f5c\u4e3a\u7ba1\u7406\u8d26\u53f7\uff0c\u914d\u7f6ecf\u7684cdn\u4ee3\u7406<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">docker\u90e8\u7f72caddy\u53cd\u4ee3<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">docker-compose.yml<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>version: '3.3' &nbsp;<br>services:<br>caddy:<br>&nbsp; image: caddy<br>&nbsp; container_name: caddy<br>&nbsp; hostname: caddy<br>&nbsp; restart: always<br>&nbsp; volumes:<br>&nbsp; &nbsp; - .\/caddy\/Caddyfile:\/etc\/caddy\/Caddyfile<br>&nbsp; &nbsp; - .\/caddy\/data:\/data<br>&nbsp; &nbsp; - .\/caddy\/config:\/config<br>&nbsp; network_mode: host<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Caddyfile<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>cdn.example.com<br>encode gzip<br>reverse_proxy 127.0.0.1:8008<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">ICMP\/TCP \u516c\u7528IP\u63a2\u9488<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">\u6587\u6863\u5730\u5740<\/h4>\n\n\n\n<p><a href=\"https:\/\/www.nodeseek.com\/post-68572-1\">\u3010\u5b58\u3011\u5168\u56fd 34 \u7701\u4efd TCPING v4 IP (nodeseek.com)<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/nxtrace\/NTrace-V1\/blob\/main\/fast_trace\/basic.go\">NTrace-V1\/fast_trace\/basic.go at main \u00b7 nxtrace\/NTrace-V1 (github.com)<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u6545\u969c\u901a\u77e5\u673a\u5668\u4eba\u914d\u7f6e<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">\u6587\u6863\u5730\u5740<\/h4>\n\n\n\n<p><a href=\"https:\/\/nezha.wiki\/guide\/notifications.html\">\u54ea\u5412\u76d1\u63a7 | \u54ea\u5412\u76d1\u63a7 (nezha.wiki)<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6f14\u793a\u7ad9\u70b9 laning&#8217;s dashboard \u9879\u76ee\u8d77\u56e0 \u624b\u4e0a\u7684vps\u9010\u6e10\u591a\u4e86\u8d77\u6765\uff0c\u8fd8\u662f\u53ef\u4ee5\u73a9\u4e00\u4e0b [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u54ea\u5412\u76d1\u63a7\u90e8\u7f72 &ndash; Laning &#039;s Blog<\/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:\/\/blog.laning.org\/index.php\/2024\/04\/22\/363\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u54ea\u5412\u76d1\u63a7\u90e8\u7f72 &ndash; Laning &#039;s Blog\" \/>\n<meta property=\"og:description\" content=\"\u6f14\u793a\u7ad9\u70b9 laning&#8217;s dashboard \u9879\u76ee\u8d77\u56e0 \u624b\u4e0a\u7684vps\u9010\u6e10\u591a\u4e86\u8d77\u6765\uff0c\u8fd8\u662f\u53ef\u4ee5\u73a9\u4e00\u4e0b [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.laning.org\/index.php\/2024\/04\/22\/363\/\" \/>\n<meta property=\"og:site_name\" content=\"Laning &#039;s Blog\" \/>\n<meta property=\"article:published_time\" content=\"2024-04-22T12:03:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-20T16:23:34+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"laning\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.laning.org\/#website\",\"url\":\"https:\/\/blog.laning.org\/\",\"name\":\"\\u8fa3\\u5b81\\u7684\\u535a\\u5ba2\",\"description\":\"Learning on the go\",\"publisher\":{\"@id\":\"https:\/\/blog.laning.org\/#\/schema\/person\/040331b403ed00370f2fc1e8eb6e6b93\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.laning.org\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-CN\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.laning.org\/index.php\/2024\/04\/22\/363\/#webpage\",\"url\":\"https:\/\/blog.laning.org\/index.php\/2024\/04\/22\/363\/\",\"name\":\"\\u54ea\\u5412\\u76d1\\u63a7\\u90e8\\u7f72 &ndash; Laning &#039;s Blog\",\"isPartOf\":{\"@id\":\"https:\/\/blog.laning.org\/#website\"},\"datePublished\":\"2024-04-22T12:03:20+00:00\",\"dateModified\":\"2025-03-20T16:23:34+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/blog.laning.org\/index.php\/2024\/04\/22\/363\/#breadcrumb\"},\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.laning.org\/index.php\/2024\/04\/22\/363\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.laning.org\/index.php\/2024\/04\/22\/363\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\\u9996\\u9875\",\"item\":\"https:\/\/blog.laning.org\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\\u54ea\\u5412\\u76d1\\u63a7\\u90e8\\u7f72\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/blog.laning.org\/index.php\/2024\/04\/22\/363\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/blog.laning.org\/index.php\/2024\/04\/22\/363\/#webpage\"},\"author\":{\"@id\":\"https:\/\/blog.laning.org\/#\/schema\/person\/040331b403ed00370f2fc1e8eb6e6b93\"},\"headline\":\"\\u54ea\\u5412\\u76d1\\u63a7\\u90e8\\u7f72\",\"datePublished\":\"2024-04-22T12:03:20+00:00\",\"dateModified\":\"2025-03-20T16:23:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/blog.laning.org\/index.php\/2024\/04\/22\/363\/#webpage\"},\"wordCount\":38,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/blog.laning.org\/#\/schema\/person\/040331b403ed00370f2fc1e8eb6e6b93\"},\"articleSection\":[\"Github\"],\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/blog.laning.org\/index.php\/2024\/04\/22\/363\/#respond\"]}]},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/blog.laning.org\/#\/schema\/person\/040331b403ed00370f2fc1e8eb6e6b93\",\"name\":\"laning\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/blog.laning.org\/#personlogo\",\"inLanguage\":\"zh-CN\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/17215f328425d53537532588320693a1?s=96&d=retro&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/17215f328425d53537532588320693a1?s=96&d=retro&r=g\",\"caption\":\"laning\"},\"logo\":{\"@id\":\"https:\/\/blog.laning.org\/#personlogo\"},\"sameAs\":[\"https:\/\/blog.laning.org\"],\"url\":\"https:\/\/blog.laning.org\/index.php\/author\/laning\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u54ea\u5412\u76d1\u63a7\u90e8\u7f72 &ndash; Laning &#039;s Blog","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:\/\/blog.laning.org\/index.php\/2024\/04\/22\/363\/","og_locale":"zh_CN","og_type":"article","og_title":"\u54ea\u5412\u76d1\u63a7\u90e8\u7f72 &ndash; Laning &#039;s Blog","og_description":"\u6f14\u793a\u7ad9\u70b9 laning&#8217;s dashboard \u9879\u76ee\u8d77\u56e0 \u624b\u4e0a\u7684vps\u9010\u6e10\u591a\u4e86\u8d77\u6765\uff0c\u8fd8\u662f\u53ef\u4ee5\u73a9\u4e00\u4e0b [&hellip;]","og_url":"https:\/\/blog.laning.org\/index.php\/2024\/04\/22\/363\/","og_site_name":"Laning &#039;s Blog","article_published_time":"2024-04-22T12:03:20+00:00","article_modified_time":"2025-03-20T16:23:34+00:00","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"laning"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/blog.laning.org\/#website","url":"https:\/\/blog.laning.org\/","name":"\u8fa3\u5b81\u7684\u535a\u5ba2","description":"Learning on the go","publisher":{"@id":"https:\/\/blog.laning.org\/#\/schema\/person\/040331b403ed00370f2fc1e8eb6e6b93"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.laning.org\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-CN"},{"@type":"WebPage","@id":"https:\/\/blog.laning.org\/index.php\/2024\/04\/22\/363\/#webpage","url":"https:\/\/blog.laning.org\/index.php\/2024\/04\/22\/363\/","name":"\u54ea\u5412\u76d1\u63a7\u90e8\u7f72 &ndash; Laning &#039;s Blog","isPartOf":{"@id":"https:\/\/blog.laning.org\/#website"},"datePublished":"2024-04-22T12:03:20+00:00","dateModified":"2025-03-20T16:23:34+00:00","breadcrumb":{"@id":"https:\/\/blog.laning.org\/index.php\/2024\/04\/22\/363\/#breadcrumb"},"inLanguage":"zh-CN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.laning.org\/index.php\/2024\/04\/22\/363\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.laning.org\/index.php\/2024\/04\/22\/363\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/blog.laning.org\/"},{"@type":"ListItem","position":2,"name":"\u54ea\u5412\u76d1\u63a7\u90e8\u7f72"}]},{"@type":"Article","@id":"https:\/\/blog.laning.org\/index.php\/2024\/04\/22\/363\/#article","isPartOf":{"@id":"https:\/\/blog.laning.org\/index.php\/2024\/04\/22\/363\/#webpage"},"author":{"@id":"https:\/\/blog.laning.org\/#\/schema\/person\/040331b403ed00370f2fc1e8eb6e6b93"},"headline":"\u54ea\u5412\u76d1\u63a7\u90e8\u7f72","datePublished":"2024-04-22T12:03:20+00:00","dateModified":"2025-03-20T16:23:34+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.laning.org\/index.php\/2024\/04\/22\/363\/#webpage"},"wordCount":38,"commentCount":0,"publisher":{"@id":"https:\/\/blog.laning.org\/#\/schema\/person\/040331b403ed00370f2fc1e8eb6e6b93"},"articleSection":["Github"],"inLanguage":"zh-CN","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.laning.org\/index.php\/2024\/04\/22\/363\/#respond"]}]},{"@type":["Person","Organization"],"@id":"https:\/\/blog.laning.org\/#\/schema\/person\/040331b403ed00370f2fc1e8eb6e6b93","name":"laning","image":{"@type":"ImageObject","@id":"https:\/\/blog.laning.org\/#personlogo","inLanguage":"zh-CN","url":"https:\/\/secure.gravatar.com\/avatar\/17215f328425d53537532588320693a1?s=96&d=retro&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/17215f328425d53537532588320693a1?s=96&d=retro&r=g","caption":"laning"},"logo":{"@id":"https:\/\/blog.laning.org\/#personlogo"},"sameAs":["https:\/\/blog.laning.org"],"url":"https:\/\/blog.laning.org\/index.php\/author\/laning\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/posts\/363"}],"collection":[{"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/comments?post=363"}],"version-history":[{"count":2,"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/posts\/363\/revisions"}],"predecessor-version":[{"id":365,"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/posts\/363\/revisions\/365"}],"wp:attachment":[{"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/media?parent=363"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/categories?post=363"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/tags?post=363"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}