{"id":1338,"date":"2026-11-01T21:11:08","date_gmt":"2026-11-01T13:11:08","guid":{"rendered":"https:\/\/www.asaeo.com\/?p=1338"},"modified":"2026-11-01T21:11:08","modified_gmt":"2026-11-01T13:11:08","slug":"nginx%e6%8a%a5502%e6%88%96504%ef%bc%8c%e5%85%88%e6%9f%a5%e5%93%aa%e9%87%8c%ef%bc%9f%e4%bb%8e%e4%b8%8a%e6%b8%b8%e5%9c%b0%e5%9d%80%e5%92%8c%e9%94%99%e8%af%af%e6%97%a5%e5%bf%97%e5%bc%80%e5%a7%8b","status":"publish","type":"post","link":"https:\/\/www.asaeo.com\/?p=1338","title":{"rendered":"Nginx\u62a5502\u6216504\uff0c\u5148\u67e5\u54ea\u91cc\uff1f\u4ece\u4e0a\u6e38\u5730\u5740\u548c\u9519\u8bef\u65e5\u5fd7\u5f00\u59cb"},"content":{"rendered":"<div class=\"yd-practical-guide\" style=\"font-size:16px;line-height:1.9\">\n<p>\u7f51\u7ad9\u51fa\u73b0502\uff0c\u6709\u4eba\u5148\u91cd\u542fNginx\uff1b\u770b\u5230504\uff0c\u53c8\u628a\u8d85\u65f6\u8c03\u6210\u5341\u5206\u949f\u3002\u9875\u9762\u53ef\u80fd\u6682\u65f6\u6062\u590d\uff0c\u4f46\u4e0b\u6b21\u4ecd\u4f1a\u51fa\u9519\u3002\u5148\u4fdd\u7559\u51fa\u9519\u65f6\u95f4\u548c\u65e5\u5fd7\uff0c\u518d\u67e5Nginx\u5b9e\u9645\u628a\u8bf7\u6c42\u4ea4\u7ed9\u4e86\u8c01\uff0c\u6bd4\u53cd\u590d\u91cd\u542f\u66f4\u5bb9\u6613\u627e\u5230\u539f\u56e0\u3002<\/p>\n<p><small>\u672c\u6587\u6309Nginx\u4e0ecurl\u5b98\u65b9\u6587\u6863\u6574\u7406\uff0c\u6838\u9a8c\u65e5\u671f\u4e3a2026\u5e7411\u67081\u65e5\u3002\u914d\u56fe\u4e3a\u5b98\u65b9\u9875\u9762\u771f\u5b9e\u622a\u56fe\uff1b\u4e0b\u6587\u65e5\u5fd7\u7247\u6bb5\u662f\u8bc6\u522b\u7528\u793a\u4f8b\uff0c\u4e0d\u662f\u4e91\u4fa6\u63a2\u670d\u52a1\u5668\u7684\u6545\u969c\u8bb0\u5f55\u3002<\/small><\/p>\n<h2 style=\"font-size:21px;line-height:1.5;margin:32px 0 14px;font-weight:600\">1. \u5148\u628a\u540c\u4e00\u6b21\u8bf7\u6c42\u7684\u8bb0\u5f55\u5bf9\u4e0a<\/h2>\n<p>\u8bb0\u4e0b\u51fa\u9519\u65f6\u95f4\u3001\u65f6\u533a\u3001\u57df\u540d\u3001\u8bf7\u6c42\u8def\u5f84\uff0c\u4ee5\u53ca\u662f\u6240\u6709\u9875\u9762\u5f02\u5e38\u8fd8\u662f\u53ea\u6709\u67d0\u4e2a\u63a5\u53e3\u6162\u3002\u7f51\u7ad9\u524d\u9762\u8fd8\u6709CDN\u6216\u8d1f\u8f7d\u5747\u8861\u65f6\uff0c\u8981\u5148\u786e\u8ba4\u9519\u8bef\u53d1\u751f\u5728\u54ea\u4e00\u5c42\uff0c\u4e0d\u80fd\u53ea\u51ed\u6d4f\u89c8\u5668\u91cc\u7684\u6570\u5b57\u5c31\u8ba4\u5b9a\u662f\u6e90\u7ad9Nginx\u6545\u969c\u3002<\/p>\n<p>\u627e\u5230\u8be5\u7ad9\u70b9\u914d\u7f6e\u91cc\u7684<code>error_log<\/code>\uff0c\u6309\u5b9e\u9645\u4f4d\u7f6e\u8bfb\u65e5\u5fd7\u3002\u5b83\u53ef\u80fd\u5199\u6587\u4ef6\u3001\u6807\u51c6\u9519\u8bef\u6216syslog\uff0c\u8def\u5f84\u4e0d\u4e00\u5b9a\u662f\u7f51\u4e0a\u6559\u7a0b\u91cc\u7684<code>\/var\/log\/nginx\/error.log<\/code>\u3002\u540c\u65f6\u6838\u5bf9\u8bbf\u95ee\u65e5\u5fd7\u91cc\u5bf9\u5e94\u65f6\u95f4\u7684\u8bf7\u6c42\u3002<\/p>\n<pre style=\"padding:18px;background:#f4f7fb;border:1px solid #e0e7f0;border-radius:8px;font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere\"><code>sudo tail -n 100 \/\u5b9e\u9645\u65e5\u5fd7\u8def\u5f84\/error.log<\/code><\/pre>\n<p>\u628a\u547d\u4ee4\u4e2d\u7684\u8def\u5f84\u6362\u6210\u81ea\u5df1\u7684\u65e5\u5fd7\u6587\u4ef6\u3002\u5bf9\u5916\u63d0\u4f9b\u65e5\u5fd7\u65f6\uff0c\u906e\u4f4f\u8bbf\u95ee\u4ee4\u724c\u3001\u67e5\u8be2\u53c2\u6570\u4e2d\u7684\u4e2a\u4eba\u4fe1\u606f\u548c\u5185\u90e8\u5730\u5740\uff1b\u4fdd\u7559\u65f6\u95f4\u3001\u9519\u8bef\u6587\u5b57\u4e0e\u4e0a\u6e38\u7c7b\u578b\uff0c\u522b\u628a\u6574\u4efd\u914d\u7f6e\u76f4\u63a5\u516c\u5f00\u3002<\/p>\n<h2 style=\"font-size:21px;line-height:1.5;margin:32px 0 14px;font-weight:600\">2. \u914d\u7f6e\u901a\u8fc7\u68c0\u67e5\uff0c\u4e0d\u7b49\u4e8e\u4e0a\u6e38\u670d\u52a1\u6b63\u5e38<\/h2>\n<pre style=\"padding:18px;background:#f4f7fb;border:1px solid #e0e7f0;border-radius:8px;font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere\"><code>sudo nginx -t<\/code><\/pre>\n<p>\u8fd9\u6761\u547d\u4ee4\u68c0\u67e5\u914d\u7f6e\u8bed\u6cd5\uff0c\u5e76\u5c1d\u8bd5\u6253\u5f00\u914d\u7f6e\u5f15\u7528\u7684\u6587\u4ef6\u3002\u5b83\u4e0d\u4f1a\u66ff\u4f60\u9a8c\u8bc1\u5e94\u7528\u63a5\u53e3\u662f\u5426\u5065\u5eb7\u3001\u6570\u636e\u5e93\u67e5\u8be2\u662f\u5426\u6b63\u5e38\u3002\u591a\u5957Nginx\u5e76\u5b58\u65f6\uff0c\u8fd8\u8981\u786e\u8ba4\u7528\u7684\u662f\u5b9e\u9645\u8fd0\u884c\u5b9e\u4f8b\u7684\u4e8c\u8fdb\u5236\u3001\u914d\u7f6e\u6587\u4ef6\u4e0e\u8def\u5f84\u524d\u7f00\u3002<\/p>\n<p><code>nginx -T<\/code>\u4f1a\u989d\u5916\u8f93\u51fa\u5b8c\u6574\u914d\u7f6e\uff0c\u4fbf\u4e8e\u5728\u672c\u673a\u6838\u5bf9<code>include<\/code>\u8fdb\u6765\u7684\u5185\u5bb9\uff0c\u4f46\u53ef\u80fd\u5e26\u51fa\u5185\u90e8\u670d\u52a1\u5730\u5740\u3001\u8ba4\u8bc1\u53c2\u6570\u6216\u5bc6\u94a5\u76f8\u5173\u914d\u7f6e\u3002\u4e0d\u8981\u628a\u8f93\u51fa\u672a\u7ecf\u68c0\u67e5\u5c31\u53d1\u5230\u516c\u5f00\u7fa4\u6216\u5de5\u5355\u9644\u4ef6\u3002<\/p>\n<figure style=\"margin:26px 0\"><a href=\"https:\/\/www.asaeo.com\/wp-content\/uploads\/2026\/11\/yd2-nginx-check-20261101.jpg\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" width=\"1065\" height=\"760\" class=\"aligncenter size-full wp-image-1329\" src=\"https:\/\/www.asaeo.com\/wp-content\/uploads\/2026\/11\/yd2-nginx-check-20261101.jpg\" alt=\"Nginx\u5b98\u65b9\u8bf4\u660e\uff1a-t\u68c0\u67e5\u914d\u7f6e\u4e0e-T\u8f93\u51fa\u914d\u7f6e\" loading=\"lazy\" style=\"display:block;width:100%;height:auto;border:1px solid #e5eaf2;border-radius:8px\" srcset=\"https:\/\/www.asaeo.com\/wp-content\/uploads\/2026\/11\/yd2-nginx-check-20261101.jpg 1065w, https:\/\/www.asaeo.com\/wp-content\/uploads\/2026\/11\/yd2-nginx-check-20261101-300x214.jpg 300w, https:\/\/www.asaeo.com\/wp-content\/uploads\/2026\/11\/yd2-nginx-check-20261101-1024x731.jpg 1024w, https:\/\/www.asaeo.com\/wp-content\/uploads\/2026\/11\/yd2-nginx-check-20261101-768x548.jpg 768w\" sizes=\"auto, (max-width: 1065px) 100vw, 1065px\" \/><\/a><figcaption style=\"font-size:13px;line-height:1.7;color:#67758a;margin-top:9px\">Nginx\u5b98\u65b9\u547d\u4ee4\u8bf4\u660e\uff1a-t\u68c0\u67e5\u914d\u7f6e\u4e0e\u5f15\u7528\u6587\u4ef6\uff0c-T\u8fd8\u4f1a\u8f93\u51fa\u5b8c\u6574\u914d\u7f6e\uff1b\u68c0\u67e5\u901a\u8fc7\u4e0d\u7b49\u4e8e\u4e0a\u6e38\u5e94\u7528\u5065\u5eb7\u3002 <a href=\"https:\/\/www.asaeo.com\/wp-content\/uploads\/2026\/11\/yd2-nginx-check-20261101.jpg\" target=\"_blank\" rel=\"noopener\">\u67e5\u770b\u622a\u56fe<\/a> \u00b7 <a href=\"https:\/\/nginx.org\/en\/docs\/switches.html\" target=\"_blank\" rel=\"noopener\">\u5b98\u65b9\u539f\u6587<\/a><\/figcaption><\/figure>\n<h2 style=\"font-size:21px;line-height:1.5;margin:32px 0 14px;font-weight:600\">3. \u5148\u5206\u6e05HTTP\u4e0a\u6e38\u548cPHP-FPM<\/h2>\n<p>\u627e\u5230\u62a5\u9519\u8def\u5f84\u5bf9\u5e94\u7684<code>location<\/code>\uff1a<code>proxy_pass<\/code>\u901a\u5e38\u8f6c\u7ed9HTTP\u6216HTTPS\u5e94\u7528\uff1b<code>fastcgi_pass<\/code>\u8f6c\u7ed9FastCGI\u670d\u52a1\uff0cPHP-FPM\u662f\u5e38\u89c1\u4f8b\u5b50\u3002\u4e24\u8005\u4e0d\u80fd\u7528\u540c\u4e00\u79cd\u65b9\u5f0f\u6d4b\u8bd5\u3002<\/p>\n<pre style=\"padding:18px;background:#f4f7fb;border:1px solid #e0e7f0;border-radius:8px;font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere\"><code>sudo ss -lntp\r\nsudo ss -lxnp<\/code><\/pre>\n<p>\u7b2c\u4e00\u6761\u67e5TCP\u76d1\u542c\uff0c\u7b2c\u4e8c\u6761\u67e5Unix\u5957\u63a5\u5b57\u3002\u5bf9\u7167\u914d\u7f6e\u4e2d\u7684\u7aef\u53e3\u6216\u5957\u63a5\u5b57\u8def\u5f84\uff0c\u786e\u8ba4\u670d\u52a1\u662f\u5426\u5b58\u5728\u3001\u76d1\u542c\u5728\u54ea\u4e2a\u5730\u5740\u3002\u547d\u4ee4\u9700\u8981\u5728\u76f8\u5e94\u670d\u52a1\u5668\u548c\u7f51\u7edc\u73af\u5883\u91cc\u6267\u884c\uff1b\u8fdb\u7a0b\u540d\u79f0\u3001PHP\u7248\u672c\u4e0e\u670d\u52a1\u540d\u4f9d\u5b89\u88c5\u65b9\u5f0f\u800c\u5b9a\uff0c\u4e0d\u8981\u7167\u6284\u522b\u4eba\u7684<code>php-fpm<\/code>\u91cd\u542f\u547d\u4ee4\u3002<\/p>\n<p>\u82e5\u5df2\u786e\u8ba4\u4e0a\u6e38\u662f\u672c\u673aHTTP\u670d\u52a1\uff0c\u53ef\u4ee5\u8bf7\u6c42\u4e00\u4e2a\u81ea\u5df1\u638c\u63a7\u3001\u4e0d\u4f1a\u5199\u5165\u4e1a\u52a1\u6570\u636e\u7684\u5065\u5eb7\u68c0\u67e5\u5730\u5740\u3002\u4ee5\u4e0b\u7aef\u53e3\u548c\u8def\u5f84\u5fc5\u987b\u66ff\u6362\u6210\u5b9e\u9645\u503c\uff1a<\/p>\n<pre style=\"padding:18px;background:#f4f7fb;border:1px solid #e0e7f0;border-radius:8px;font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere\"><code>curl --connect-timeout 2 --max-time 5 -i 'http:\/\/127.0.0.1:PORT\/HEALTH_PATH'<\/code><\/pre>\n<p>\u5b83\u53d1\u9001GET\u8bf7\u6c42\uff1b<code>--connect-timeout<\/code>\u9650\u5236\u8fde\u63a5\u9636\u6bb5\uff0c<code>--max-time<\/code>\u9650\u5236\u6574\u4e2a\u4f20\u8f93\u3002\u4e0d\u8981\u7528<code>curl -I<\/code>\u6210\u529f\u5c31\u8ba4\u5b9aGET\u63a5\u53e3\u4e5f\u6210\u529f\u3002\u4e0a\u6e38\u4f9d\u8d56\u57df\u540d\u8def\u7531\u3001\u9274\u6743\u6216HTTPS\u65f6\uff0c\u8fd8\u8981\u6309\u5b83\u7684\u5b9e\u9645\u8981\u6c42\u6d4b\u8bd5\u3002<strong>PHP-FPM\u7aef\u53e3\u4e0d\u662f\u666e\u901aHTTP\u63a5\u53e3\uff0c\u4e0d\u80fd\u76f4\u63a5\u7528\u8fd9\u6761curl\u547d\u4ee4\u5224\u65ad\u5b83\u662f\u5426\u5065\u5eb7\u3002<\/strong><\/p>\n<h2 style=\"font-size:21px;line-height:1.5;margin:32px 0 14px;font-weight:600\">4. \u770b\u9519\u8bef\u53d1\u751f\u5728\u54ea\u4e00\u6b65<\/h2>\n<table style=\"width:100%;border-collapse:collapse;font-size:14px;margin:20px 0\">\n<thead>\n<tr>\n<th style=\"padding:12px;border:1px solid #dce4ef;text-align:left;background:#f2f6fc\">\u5e38\u89c1\u65e5\u5fd7\u7247\u6bb5<\/th>\n<th style=\"padding:12px;border:1px solid #dce4ef;text-align:left;background:#f2f6fc\">\u4f18\u5148\u68c0\u67e5<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"padding:12px;border:1px solid #dce4ef;text-align:left;vertical-align:top\"><code>connect() failed (111: Connection refused)<\/code><\/td>\n<td style=\"padding:12px;border:1px solid #dce4ef;text-align:left;vertical-align:top\">\u914d\u7f6e\u5730\u5740\u4e0e\u7aef\u53e3\u662f\u5426\u6b63\u786e\uff0c\u670d\u52a1\u662f\u5426\u76d1\u542c\uff1b\u88ab\u62d2\u7edd\u4e0d\u7b49\u4e8e\u5e94\u8be5\u5168\u7f51\u653e\u884c\u7aef\u53e3\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:12px;border:1px solid #dce4ef;text-align:left;vertical-align:top\"><code>upstream timed out<\/code><\/td>\n<td style=\"padding:12px;border:1px solid #dce4ef;text-align:left;vertical-align:top\">\u7ee7\u7eed\u770b\u662f\u8fde\u63a5\u4e0a\u6e38\u65f6\u8d85\u65f6\uff0c\u8fd8\u662f\u8bfb\u53d6\u54cd\u5e94\u5934\u3001\u54cd\u5e94\u5185\u5bb9\u65f6\u8d85\u65f6\uff0c\u518d\u67e5\u5bf9\u5e94\u9636\u6bb5\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:12px;border:1px solid #dce4ef;text-align:left;vertical-align:top\"><code>Permission denied<\/code><\/td>\n<td style=\"padding:12px;border:1px solid #dce4ef;text-align:left;vertical-align:top\">Unix\u5957\u63a5\u5b57\u7684\u8def\u5f84\u548c\u8bbf\u95ee\u6743\u9650\uff0c\u4ee5\u53ca\u7cfb\u7edf\u8bbf\u95ee\u63a7\u5236\uff1b\u4e0d\u8981\u76f4\u63a5\u5173\u95ed\u5b89\u5168\u4fdd\u62a4\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>502\u53ef\u80fd\u6d89\u53ca\u4e0a\u6e38\u8fde\u63a5\u3001\u54cd\u5e94\u5185\u5bb9\u7b49\u95ee\u9898\uff1b504\u5e38\u89c1\u4e8e\u7b49\u5f85\u4e0a\u6e38\u8d85\u65f6\u3002\u9519\u8bef\u7801\u662f\u6392\u67e5\u5165\u53e3\uff0c\u4e0d\u662f\u552f\u4e00\u539f\u56e0\u3002\u4e0a\u6e38\u81ea\u8eab\u8fd4\u56de\u4e86\u9519\u8bef\u3001\u7f51\u5173\u91cd\u8bd5\u6216\u81ea\u5b9a\u4e49\u9519\u8bef\u9875\uff0c\u4e5f\u4f1a\u5f71\u54cd\u6700\u7ec8\u770b\u5230\u7684\u7ed3\u679c\u3002<\/p>\n<h2 style=\"font-size:21px;line-height:1.5;margin:32px 0 14px;font-weight:600\">5. \u522b\u628a\u8bfb\u8d85\u65f6\u5f53\u6210\u6574\u4e2a\u8bf7\u6c42\u7684\u5012\u8ba1\u65f6<\/h2>\n<p><code>proxy_connect_timeout<\/code>\u7ba1\u5efa\u7acb\u4e0a\u6e38\u8fde\u63a5\uff1b<code>proxy_read_timeout<\/code>\u7ba1\u8fde\u7eed\u4e24\u6b21\u8bfb\u53d6\u54cd\u5e94\u4e4b\u95f4\u5141\u8bb8\u7b49\u5f85\u591a\u4e45\uff0c\u4e0d\u662f\u6574\u4e2a\u54cd\u5e94\u5fc5\u987b\u5728\u591a\u5c11\u79d2\u5185\u4f20\u5b8c\u3002FastCGI\u6709\u81ea\u5df1\u7684<code>fastcgi_connect_timeout<\/code>\u548c<code>fastcgi_read_timeout<\/code>\uff0c\u4fee\u6539\u4ee3\u7406\u6a21\u5757\u53c2\u6570\u4e0d\u7b49\u4e8e\u4fee\u6539\u4e86PHP\u8bf7\u6c42\u7684\u7b49\u5f85\u884c\u4e3a\u3002<\/p>\n<figure style=\"margin:26px 0\"><a href=\"https:\/\/www.asaeo.com\/wp-content\/uploads\/2026\/11\/yd2-nginx-timeout-20261101.jpg\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" width=\"813\" height=\"178\" class=\"aligncenter size-full wp-image-1330\" src=\"https:\/\/www.asaeo.com\/wp-content\/uploads\/2026\/11\/yd2-nginx-timeout-20261101.jpg\" alt=\"Nginx\u5b98\u65b9\u5b9a\u4e49\uff1aproxy_read_timeout\u662f\u76f8\u90bb\u8bfb\u53d6\u95f4\u9694\" loading=\"lazy\" style=\"display:block;width:100%;height:auto;border:1px solid #e5eaf2;border-radius:8px\" srcset=\"https:\/\/www.asaeo.com\/wp-content\/uploads\/2026\/11\/yd2-nginx-timeout-20261101.jpg 813w, https:\/\/www.asaeo.com\/wp-content\/uploads\/2026\/11\/yd2-nginx-timeout-20261101-300x66.jpg 300w, https:\/\/www.asaeo.com\/wp-content\/uploads\/2026\/11\/yd2-nginx-timeout-20261101-768x168.jpg 768w\" sizes=\"auto, (max-width: 813px) 100vw, 813px\" \/><\/a><figcaption style=\"font-size:13px;line-height:1.7;color:#67758a;margin-top:9px\">Nginx\u5b98\u65b9\u5bf9proxy_read_timeout\u7684\u5b9a\u4e49\uff1a\u9650\u5236\u7684\u662f\u76f8\u90bb\u8bfb\u53d6\u4e4b\u95f4\u7684\u7b49\u5f85\u65f6\u95f4\uff0c\u4e0d\u662f\u6574\u4e2a\u54cd\u5e94\u7684\u603b\u65f6\u957f\u3002 <a href=\"https:\/\/www.asaeo.com\/wp-content\/uploads\/2026\/11\/yd2-nginx-timeout-20261101.jpg\" target=\"_blank\" rel=\"noopener\">\u67e5\u770b\u622a\u56fe<\/a> \u00b7 <a href=\"https:\/\/nginx.org\/en\/docs\/http\/ngx_http_proxy_module.html#proxy_read_timeout\" target=\"_blank\" rel=\"noopener\">\u5b98\u65b9\u539f\u6587<\/a><\/figcaption><\/figure>\n<p>\u53ea\u6709\u786e\u8ba4\u5e94\u7528\u786e\u5b9e\u9700\u8981\u66f4\u957f\u5904\u7406\u65f6\u95f4\uff0c\u5e76\u8bc4\u4f30\u8fde\u63a5\u5360\u7528\u540e\uff0c\u624d\u8003\u8651\u8c03\u6574\u5bf9\u5e94\u8d85\u65f6\u3002\u5e94\u7528\u5361\u5728\u6162\u67e5\u8be2\u3001\u5916\u90e8\u63a5\u53e3\u6216\u5de5\u4f5c\u8fdb\u7a0b\u4e0d\u8db3\u65f6\uff0c\u5355\u7eaf\u5ef6\u957f\u7b49\u5f85\u53ef\u80fd\u8ba9\u8bf7\u6c42\u5806\u79ef\u66f4\u4e45\u3002<\/p>\n<p>\u4fee\u590d\u540e\u7528\u539f\u6765\u7684\u8def\u5f84\u548c\u8bf7\u6c42\u65b9\u6cd5\u590d\u67e5\uff0c\u518d\u89c2\u5bdf\u9519\u8bef\u65e5\u5fd7\u662f\u5426\u7ee7\u7eed\u589e\u957f\u3002\u767b\u5f55\u3001\u652f\u4ed8\u3001\u4e0b\u5355\u7b49\u5199\u64cd\u4f5c\u4e0d\u8981\u53cd\u590d\u91cd\u653e\uff1b\u4f18\u5148\u7528\u4e0d\u4f1a\u4ea7\u751f\u4e1a\u52a1\u526f\u4f5c\u7528\u7684\u68c0\u67e5\u5165\u53e3\u3002\u9700\u8981\u534f\u52a9\u65f6\uff0c\u63d0\u4f9b\u65f6\u95f4\u3001\u5f71\u54cd\u8303\u56f4\u3001\u8131\u654f\u65e5\u5fd7\u53ca\u4e0a\u6e38\u7c7b\u578b\u5373\u53ef\uff0c\u4e0d\u9700\u8981\u63d0\u4f9b\u5bc6\u7801\u6216\u79c1\u94a5\u3002<\/p>\n<h2 style=\"font-size:21px;line-height:1.5;margin:32px 0 14px;font-weight:600\">\u5b98\u65b9\u53c2\u8003<\/h2>\n<ul>\n<li><a href=\"https:\/\/nginx.org\/en\/docs\/http\/ngx_http_proxy_module.html\" target=\"_blank\" rel=\"noopener\">Nginx\uff1aHTTP\u4ee3\u7406\u4e0e\u8fde\u63a5\u3001\u8bfb\u53d6\u8d85\u65f6<\/a><\/li>\n<li><a href=\"https:\/\/nginx.org\/en\/docs\/http\/ngx_http_fastcgi_module.html\" target=\"_blank\" rel=\"noopener\">Nginx\uff1aFastCGI\u4e0a\u6e38\u548c\u8d85\u65f6\u53c2\u6570<\/a><\/li>\n<li><a href=\"https:\/\/nginx.org\/en\/docs\/ngx_core_module.html#error_log\" target=\"_blank\" rel=\"noopener\">Nginx\uff1aerror_log\u914d\u7f6e<\/a><\/li>\n<li><a href=\"https:\/\/nginx.org\/en\/docs\/switches.html\" target=\"_blank\" rel=\"noopener\">Nginx\uff1a-t\u4e0e-T\u547d\u4ee4\u53c2\u6570<\/a><\/li>\n<li><a href=\"https:\/\/curl.se\/docs\/manpage.html\" target=\"_blank\" rel=\"noopener\">curl\uff1a\u8bf7\u6c42\u65b9\u6cd5\u4e0e\u8d85\u65f6\u9009\u9879<\/a><\/li>\n<\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u5148\u786e\u8ba4\u9519\u8bef\u53d1\u751f\u5728\u54ea\u4e00\u5c42\uff0c\u518d\u6309\u65e5\u5fd7\u533a\u5206\u8fde\u63a5\u88ab\u62d2\u7edd\u3001\u54cd\u5e94\u8d85\u65f6\u4e0eFastCGI\u95ee\u9898\u3002\u9644\u53ea\u8bfb\u68c0\u67e5\u547d\u4ee4\uff0c\u907f\u514d\u76f2\u76ee\u91cd\u542f\u6216\u5ef6\u957f\u8d85\u65f6\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[235],"tags":[267,268,266,269],"class_list":["post-1338","post","type-post","status-publish","format-standard","hentry","category-235","tag-267","tag-268","tag-nginx","tag-php-fpm"],"_links":{"self":[{"href":"https:\/\/www.asaeo.com\/index.php?rest_route=\/wp\/v2\/posts\/1338","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.asaeo.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.asaeo.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.asaeo.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.asaeo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1338"}],"version-history":[{"count":1,"href":"https:\/\/www.asaeo.com\/index.php?rest_route=\/wp\/v2\/posts\/1338\/revisions"}],"predecessor-version":[{"id":1339,"href":"https:\/\/www.asaeo.com\/index.php?rest_route=\/wp\/v2\/posts\/1338\/revisions\/1339"}],"wp:attachment":[{"href":"https:\/\/www.asaeo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.asaeo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1338"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.asaeo.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}