{"id":18907,"date":"2025-04-19T01:17:59","date_gmt":"2025-04-18T17:17:59","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/18907.html"},"modified":"2025-04-19T01:17:59","modified_gmt":"2025-04-18T17:17:59","slug":"nginx-ngx_http_stub_status_module%e9%85%8d%e7%bd%ae%e8%af%a6%e8%a7%a3%ef%bc%9a%e6%8f%90%e4%be%9b%e5%9f%ba%e6%9c%ac%e7%9a%84%e6%9c%8d%e5%8a%a1%e5%99%a8%e7%8a%b6%e6%80%81%e4%bf%a1%e6%81%af","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/18907.html","title":{"rendered":"nginx ngx_http_stub_status_module\u914d\u7f6e\u8be6\u89e3\uff1a\u63d0\u4f9b\u57fa\u672c\u7684\u670d\u52a1\u5668\u72b6\u6001\u4fe1\u606f"},"content":{"rendered":"<p>ngx_http_stub_status_module \u662f Nginx \u7684\u4e00\u4e2a\u6a21\u5757&#xff0c;\u7528\u4e8e\u63d0\u4f9b\u57fa\u672c\u7684\u670d\u52a1\u5668\u72b6\u6001\u4fe1\u606f\u3002\u8fd9\u4e2a\u6a21\u5757\u53ef\u4ee5\u5e2e\u52a9\u4f60\u76d1\u63a7 Nginx \u7684\u8fd0\u884c\u72b6\u6001&#xff0c;\u5305\u62ec\u6d3b\u52a8\u8fde\u63a5\u6570\u3001\u5df2\u5904\u7406\u8bf7\u6c42\u6570\u7b49\u3002\u8fd9\u4e9b\u4fe1\u606f\u5bf9\u4e8e\u6027\u80fd\u8c03\u4f18\u548c\u6545\u969c\u6392\u67e5\u975e\u5e38\u6709\u7528\u3002<\/p>\n<h4>\u914d\u7f6e\u8be6\u89e3<\/h4>\n<h5>1. stub_status<\/h5>\n<p>\u542f\u7528\u72b6\u6001\u9875\u9762&#xff0c;\u63d0\u4f9b\u670d\u52a1\u5668\u7684\u57fa\u672c\u72b6\u6001\u4fe1\u606f\u3002<\/p>\n<ul>\n<li>\n<p>\u8bed\u6cd5&#xff1a;<\/p>\n<p> stub_status;\n <\/li>\n<li>\n<p>\u4e0a\u4e0b\u6587&#xff1a;<\/p>\n<ul>\n<li>location<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u793a\u4f8b&#xff1a;<\/p>\n<p> location \/nginx_status {<br \/>\n    stub_status;<br \/>\n    allow 127.0.0.1;  # \u53ea\u5141\u8bb8\u672c\u5730\u8bbf\u95ee<br \/>\n    deny all;          # \u62d2\u7edd\u5176\u4ed6\u6240\u6709\u8bbf\u95ee<br \/>\n}\n <\/li>\n<\/ul>\n<h4>\u72b6\u6001\u4fe1\u606f\u8bf4\u660e<\/h4>\n<p>\u542f\u7528 stub_status \u540e&#xff0c;\u8bbf\u95ee\u6307\u5b9a\u7684 URI&#xff08;\u4f8b\u5982 \/nginx_status&#xff09;\u4f1a\u8fd4\u56de\u4ee5\u4e0b\u683c\u5f0f\u7684\u72b6\u6001\u4fe1\u606f&#xff1a;<\/p>\n<p>Active connections: 3<br \/>\nserver accepts handled requests<br \/>\n 10 10 15<br \/>\nReading: 1 Writing: 1 Waiting: 1 <\/p>\n<ul>\n<li>Active connections&#xff1a;\u5f53\u524d\u6d3b\u52a8\u7684\u8fde\u63a5\u6570\u3002<\/li>\n<li>server accepts handled requests&#xff1a;\n<ul>\n<li>accepts&#xff1a;Nginx \u63a5\u6536\u5230\u7684\u8fde\u63a5\u603b\u6570\u3002<\/li>\n<li>handled&#xff1a;\u5df2\u5904\u7406\u7684\u8fde\u63a5\u603b\u6570&#xff08;\u901a\u5e38\u4e0e accepts \u76f8\u540c&#xff09;\u3002<\/li>\n<li>requests&#xff1a;\u5df2\u5904\u7406\u7684\u8bf7\u6c42\u6570\u3002<\/li>\n<\/ul>\n<\/li>\n<li>Reading&#xff1a;\u5f53\u524d\u5904\u4e8e\u8bfb\u53d6\u5ba2\u6237\u7aef\u8bf7\u6c42\u72b6\u6001\u7684\u8fde\u63a5\u6570\u3002<\/li>\n<li>Writing&#xff1a;\u5f53\u524d\u5904\u4e8e\u5411\u5ba2\u6237\u7aef\u53d1\u9001\u54cd\u5e94\u72b6\u6001\u7684\u8fde\u63a5\u6570\u3002<\/li>\n<li>Waiting&#xff1a;\u5f53\u524d\u5904\u4e8e\u7b49\u5f85\u72b6\u6001\u7684\u8fde\u63a5\u6570&#xff08;\u901a\u5e38\u662f\u4fdd\u6301\u8fde\u63a5\u7684\u72b6\u6001&#xff09;\u3002<\/li>\n<\/ul>\n<h4>\u4f7f\u7528\u573a\u666f<\/h4>\n<li>\n<p>\u76d1\u63a7\u670d\u52a1\u5668\u72b6\u6001&#xff1a;<\/p>\n<ul>\n<li>\u901a\u8fc7\u8bbf\u95ee\u72b6\u6001\u9875\u9762&#xff0c;\u53ef\u4ee5\u5b9e\u65f6\u76d1\u63a7 Nginx \u7684\u8fd0\u884c\u72b6\u6001&#xff0c;\u4e86\u89e3\u670d\u52a1\u5668\u7684\u8d1f\u8f7d\u60c5\u51b5\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u96c6\u6210\u76d1\u63a7\u5de5\u5177&#xff1a;<\/p>\n<ul>\n<li>\u53ef\u4ee5\u5c06\u72b6\u6001\u9875\u9762\u96c6\u6210\u5230\u76d1\u63a7\u5de5\u5177\u4e2d&#xff0c;\u4f8b\u5982 Prometheus\u3001Grafana \u7b49&#xff0c;\u4ee5\u4fbf\u8fdb\u884c\u66f4\u8be6\u7ec6\u7684\u6027\u80fd\u5206\u6790\u548c\u544a\u8b66\u3002<\/li>\n<\/ul>\n<\/li>\n<h4>\u793a\u4f8b\u914d\u7f6e<\/h4>\n<p>\u4ee5\u4e0b\u662f\u4e00\u4e2a\u5b8c\u6574\u7684 Nginx \u914d\u7f6e\u793a\u4f8b&#xff0c;\u5c55\u793a\u4e86\u5982\u4f55\u4f7f\u7528 ngx_http_stub_status_module \u4e2d\u7684 stub_status \u6307\u4ee4&#xff1a;<\/p>\n<p>user nginx;<br \/>\nworker_processes auto;<br \/>\nerror_log \/var\/log\/nginx\/error.log;<br \/>\npid \/run\/nginx.pid;<\/p>\n<p>events {<br \/>\n    worker_connections 1024;<br \/>\n}<\/p>\n<p>http {<br \/>\n    include       \/etc\/nginx\/mime.types;<br \/>\n    default_type  application\/octet-stream;<\/p>\n<p>    log_format  main  &#039;$remote_addr &#8211; $remote_user [$time_local] &#034;$request&#034; &#039;<br \/>\n                      &#039;$status $body_bytes_sent &#034;$http_referer&#034; &#039;<br \/>\n                      &#039;&#034;$http_user_agent&#034; &#034;$http_x_forwarded_for&#034;&#039;;<\/p>\n<p>    access_log  \/var\/log\/nginx\/access.log  main;<\/p>\n<p>    sendfile        on;<br \/>\n    tcp_nopush      on;<br \/>\n    tcp_nodelay     on;<br \/>\n    keepalive_timeout  65;<br \/>\n    client_max_body_size 10m;<\/p>\n<p>    server {<br \/>\n        listen 80;<br \/>\n        server_name example.com;<br \/>\n        root \/var\/www\/html;<br \/>\n        index index.html index.htm;<\/p>\n<p>        # \u542f\u7528\u72b6\u6001\u9875\u9762<br \/>\n        location \/nginx_status {<br \/>\n            stub_status;<br \/>\n            allow 127.0.0.1;  # \u53ea\u5141\u8bb8\u672c\u5730\u8bbf\u95ee<br \/>\n            deny all;          # \u62d2\u7edd\u5176\u4ed6\u6240\u6709\u8bbf\u95ee<br \/>\n        }<\/p>\n<p>        location \/ {<br \/>\n            # \u5176\u4ed6\u914d\u7f6e<br \/>\n        }<br \/>\n    }<br \/>\n}<\/p>\n<h4>\u6ce8\u610f\u4e8b\u9879<\/h4>\n<li>\n<p>\u5b89\u5168\u8bbf\u95ee\u63a7\u5236&#xff1a;<\/p>\n<ul>\n<li>\u4f7f\u7528 allow \u548c deny \u6307\u4ee4\u9650\u5236\u5bf9\u72b6\u6001\u9875\u9762\u7684\u8bbf\u95ee&#xff0c;\u786e\u4fdd\u53ea\u6709\u6388\u6743\u7684\u5ba2\u6237\u7aef\u53ef\u4ee5\u8bbf\u95ee\u3002\u4f8b\u5982&#xff0c;\u53ea\u5141\u8bb8\u672c\u5730\u8bbf\u95ee\u6216\u7279\u5b9a IP \u5730\u5740\u8bbf\u95ee\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u6027\u80fd\u5f71\u54cd&#xff1a;<\/p>\n<ul>\n<li>\u542f\u7528\u72b6\u6001\u9875\u9762\u5bf9 Nginx \u7684\u6027\u80fd\u5f71\u54cd\u5f88\u5c0f&#xff0c;\u4f46\u5728\u9ad8\u8d1f\u8f7d\u60c5\u51b5\u4e0b&#xff0c;\u9891\u7e41\u8bbf\u95ee\u72b6\u6001\u9875\u9762\u53ef\u80fd\u4f1a\u589e\u52a0\u4e00\u4e9b\u989d\u5916\u7684\u5f00\u9500\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u65e5\u5fd7\u8bb0\u5f55&#xff1a;<\/p>\n<ul>\n<li>\u5982\u679c\u9700\u8981\u8bb0\u5f55\u72b6\u6001\u9875\u9762\u7684\u8bbf\u95ee\u65e5\u5fd7&#xff0c;\u53ef\u4ee5\u5728 location \u5757\u4e2d\u5355\u72ec\u914d\u7f6e access_log\u3002<\/li>\n<\/ul>\n<\/li>\n<h4>\u793a\u4f8b&#xff1a;\u96c6\u6210 Prometheus<\/h4>\n<p>\u5982\u679c\u4f60\u60f3\u5c06 Nginx \u7684\u72b6\u6001\u4fe1\u606f\u96c6\u6210\u5230 Prometheus \u4e2d&#xff0c;\u53ef\u4ee5\u4f7f\u7528 nginx-prometheus-exporter \u8fd9\u6837\u7684\u5de5\u5177\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u914d\u7f6e\u793a\u4f8b&#xff1a;<\/p>\n<li>\n<p>\u5b89\u88c5 nginx-prometheus-exporter&#xff1a;<\/p>\n<p> docker run -d &#8211;name nginx-exporter \\\\<br \/>\n  -p 9113:9113 \\\\<br \/>\n  &#8211;link nginx \\\\<br \/>\n  nginx\/nginx-prometheus-exporter:latest \\\\<br \/>\n  -nginx.scrape-uri http:\/\/nginx:80\/nginx_status\n <\/li>\n<li>\n<p>\u914d\u7f6e Prometheus&#xff1a; \u5728 Prometheus \u7684\u914d\u7f6e\u6587\u4ef6 prometheus.yml \u4e2d\u6dfb\u52a0\u4e00\u4e2a job \u6765\u6293\u53d6 Nginx \u7684\u6307\u6807&#xff1a;<\/p>\n<p> <span class=\"token key atrule\">scrape_configs<\/span><span class=\"token punctuation\">:<\/span><br \/>\n  <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token key atrule\">job_name<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#039;nginx&#039;<\/span><br \/>\n    <span class=\"token key atrule\">static_configs<\/span><span class=\"token punctuation\">:<\/span><br \/>\n      <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token key atrule\">targets<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token string\">&#039;localhost:9113&#039;<\/span><span class=\"token punctuation\">]<\/span>\n <\/li>\n<p>\u901a\u8fc7\u8fd9\u79cd\u65b9\u5f0f&#xff0c;\u4f60\u53ef\u4ee5\u5c06 Nginx \u7684\u72b6\u6001\u4fe1\u606f\u96c6\u6210\u5230 Prometheus \u4e2d&#xff0c;\u5e76\u4f7f\u7528 Grafana \u7b49\u5de5\u5177\u8fdb\u884c\u53ef\u89c6\u5316\u5c55\u793a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb793\u6b21\uff0c\u70b9\u8d5e4\u6b21\uff0c\u6536\u85cf4\u6b21\u3002\u662f Nginx \u7684\u4e00\u4e2a\u6a21\u5757\uff0c\u7528\u4e8e\u63d0\u4f9b\u57fa\u672c\u7684\u670d\u52a1\u5668\u72b6\u6001\u4fe1\u606f\u3002\u8fd9\u4e2a\u6a21\u5757\u53ef\u4ee5\u5e2e\u52a9\u4f60\u76d1\u63a7 Nginx \u7684\u8fd0\u884c\u72b6\u6001\uff0c\u5305\u62ec\u6d3b\u52a8\u8fde\u63a5\u6570\u3001\u5df2\u5904\u7406\u8bf7\u6c42\u6570\u7b49\u3002\u8fd9\u4e9b\u4fe1\u606f\u5bf9\u4e8e\u6027\u80fd\u8c03\u4f18\u548c\u6545\u969c\u6392\u67e5\u975e\u5e38\u6709\u7528\u3002_nginx stub<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[151,117,1445,43],"topic":[],"class_list":["post-18907","post","type-post","status-publish","format-standard","hentry","category-server","tag-http","tag-nginx","tag-1445","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>nginx ngx_http_stub_status_module\u914d\u7f6e\u8be6\u89e3\uff1a\u63d0\u4f9b\u57fa\u672c\u7684\u670d\u52a1\u5668\u72b6\u6001\u4fe1\u606f - \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\/18907.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"nginx ngx_http_stub_status_module\u914d\u7f6e\u8be6\u89e3\uff1a\u63d0\u4f9b\u57fa\u672c\u7684\u670d\u52a1\u5668\u72b6\u6001\u4fe1\u606f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb793\u6b21\uff0c\u70b9\u8d5e4\u6b21\uff0c\u6536\u85cf4\u6b21\u3002\u662f Nginx \u7684\u4e00\u4e2a\u6a21\u5757\uff0c\u7528\u4e8e\u63d0\u4f9b\u57fa\u672c\u7684\u670d\u52a1\u5668\u72b6\u6001\u4fe1\u606f\u3002\u8fd9\u4e2a\u6a21\u5757\u53ef\u4ee5\u5e2e\u52a9\u4f60\u76d1\u63a7 Nginx \u7684\u8fd0\u884c\u72b6\u6001\uff0c\u5305\u62ec\u6d3b\u52a8\u8fde\u63a5\u6570\u3001\u5df2\u5904\u7406\u8bf7\u6c42\u6570\u7b49\u3002\u8fd9\u4e9b\u4fe1\u606f\u5bf9\u4e8e\u6027\u80fd\u8c03\u4f18\u548c\u6545\u969c\u6392\u67e5\u975e\u5e38\u6709\u7528\u3002_nginx stub\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/18907.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-18T17:17:59+00:00\" \/>\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=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/18907.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/18907.html\",\"name\":\"nginx ngx_http_stub_status_module\u914d\u7f6e\u8be6\u89e3\uff1a\u63d0\u4f9b\u57fa\u672c\u7684\u670d\u52a1\u5668\u72b6\u6001\u4fe1\u606f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-18T17:17:59+00:00\",\"dateModified\":\"2025-04-18T17:17:59+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/18907.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/18907.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/18907.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"nginx ngx_http_stub_status_module\u914d\u7f6e\u8be6\u89e3\uff1a\u63d0\u4f9b\u57fa\u672c\u7684\u670d\u52a1\u5668\u72b6\u6001\u4fe1\u606f\"}]},{\"@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":"nginx ngx_http_stub_status_module\u914d\u7f6e\u8be6\u89e3\uff1a\u63d0\u4f9b\u57fa\u672c\u7684\u670d\u52a1\u5668\u72b6\u6001\u4fe1\u606f - \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\/18907.html","og_locale":"zh_CN","og_type":"article","og_title":"nginx ngx_http_stub_status_module\u914d\u7f6e\u8be6\u89e3\uff1a\u63d0\u4f9b\u57fa\u672c\u7684\u670d\u52a1\u5668\u72b6\u6001\u4fe1\u606f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb793\u6b21\uff0c\u70b9\u8d5e4\u6b21\uff0c\u6536\u85cf4\u6b21\u3002\u662f Nginx \u7684\u4e00\u4e2a\u6a21\u5757\uff0c\u7528\u4e8e\u63d0\u4f9b\u57fa\u672c\u7684\u670d\u52a1\u5668\u72b6\u6001\u4fe1\u606f\u3002\u8fd9\u4e2a\u6a21\u5757\u53ef\u4ee5\u5e2e\u52a9\u4f60\u76d1\u63a7 Nginx \u7684\u8fd0\u884c\u72b6\u6001\uff0c\u5305\u62ec\u6d3b\u52a8\u8fde\u63a5\u6570\u3001\u5df2\u5904\u7406\u8bf7\u6c42\u6570\u7b49\u3002\u8fd9\u4e9b\u4fe1\u606f\u5bf9\u4e8e\u6027\u80fd\u8c03\u4f18\u548c\u6545\u969c\u6392\u67e5\u975e\u5e38\u6709\u7528\u3002_nginx stub","og_url":"https:\/\/www.wsisp.com\/helps\/18907.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-18T17:17:59+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/18907.html","url":"https:\/\/www.wsisp.com\/helps\/18907.html","name":"nginx ngx_http_stub_status_module\u914d\u7f6e\u8be6\u89e3\uff1a\u63d0\u4f9b\u57fa\u672c\u7684\u670d\u52a1\u5668\u72b6\u6001\u4fe1\u606f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-18T17:17:59+00:00","dateModified":"2025-04-18T17:17:59+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/18907.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/18907.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/18907.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"nginx ngx_http_stub_status_module\u914d\u7f6e\u8be6\u89e3\uff1a\u63d0\u4f9b\u57fa\u672c\u7684\u670d\u52a1\u5668\u72b6\u6001\u4fe1\u606f"}]},{"@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\/18907","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=18907"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/18907\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=18907"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=18907"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=18907"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=18907"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}