{"id":37318,"date":"2025-05-15T16:56:06","date_gmt":"2025-05-15T08:56:06","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/37318.html"},"modified":"2025-05-15T16:56:06","modified_gmt":"2025-05-15T08:56:06","slug":"%e9%93%b6%e6%b2%b3%e9%ba%92%e9%ba%9f%e6%9c%8d%e5%8a%a1%e5%99%a8%e7%b3%bb%e7%bb%9f%e7%bc%96%e8%af%91%e5%ae%89%e8%a3%85%e6%96%b0%e7%89%88%e6%9c%ac%ef%bc%88%e6%8c%87%e5%ae%9a%e7%89%88%e6%9c%ac%ef%bc%89ng","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/37318.html","title":{"rendered":"\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u7cfb\u7edf\u7f16\u8bd1\u5b89\u88c5\u65b0\u7248\u672c\uff08\u6307\u5b9a\u7248\u672c\uff09nginx"},"content":{"rendered":"<p id=\"main-toc\">\u76ee\u5f55<\/p>\n<p id=\"%E5%89%8D%E8%A8%80-toc\" style=\"margin-left:0px\">\u524d\u8a00<\/p>\n<p id=\"%E4%B8%80%E3%80%81nginx%E5%AE%89%E8%A3%85-toc\" style=\"margin-left:0px\">\u4e00\u3001nginx\u5b89\u88c5<\/p>\n<p id=\"%EF%BC%88%E4%B8%80%EF%BC%89%E7%8E%AF%E5%A2%83%E5%87%86%E5%A4%87-toc\" style=\"margin-left:40px\">&#xff08;\u4e00&#xff09;\u73af\u5883\u51c6\u5907<\/p>\n<p id=\"1.%E7%B3%BB%E7%BB%9F%E7%8E%AF%E5%A2%83-toc\" style=\"margin-left:80px\">1.\u7cfb\u7edf\u73af\u5883<\/p>\n<p id=\"2.%E7%A6%81%E7%94%A8%E9%98%B2%E7%81%AB%E5%A2%99%E3%80%81%E5%AE%89%E8%A3%85%E7%8E%AF%E5%A2%83%E4%BE%9D%E8%B5%96-toc\" style=\"margin-left:80px\">2.\u7981\u7528\u9632\u706b\u5899\u3001\u5b89\u88c5\u73af\u5883\u4f9d\u8d56<\/p>\n<p id=\"%EF%BC%88%E4%BA%8C%EF%BC%89%E7%BC%96%E8%AF%91%E5%AE%89%E8%A3%85-toc\" style=\"margin-left:40px\">&#xff08;\u4e8c&#xff09;\u7f16\u8bd1\u5b89\u88c5<\/p>\n<p id=\"1.%E5%AE%98%E7%BD%91%E4%B8%8B%E8%BD%BDnginx%E6%BA%90%E7%A0%81%E5%8C%85%EF%BC%8C%E9%80%89%E6%8B%A9%E8%87%AA%E5%B7%B1%E9%9C%80%E8%A6%81%E7%9A%84%E7%89%88%E6%9C%AC%E4%B8%8B%E8%BD%BD-toc\" style=\"margin-left:80px\">1.\u5b98\u7f51\u4e0b\u8f7dnginx\u6e90\u7801\u5305&#xff0c;\u9009\u62e9\u81ea\u5df1\u9700\u8981\u7684\u7248\u672c\u4e0b\u8f7d<\/p>\n<p id=\"2.%E7%BC%96%E8%AF%91%E5%AE%89%E8%A3%85nginx-toc\" style=\"margin-left:80px\">2.\u7f16\u8bd1\u5b89\u88c5nginx<\/p>\n<p id=\"%EF%BC%881%EF%BC%89%E8%A7%A3%E5%8E%8Bnginx%E6%BA%90%E7%A0%81%E5%8C%85-toc\" style=\"margin-left:120px\">&#xff08;1&#xff09;\u89e3\u538bnginx\u6e90\u7801\u5305<\/p>\n<p id=\"%EF%BC%882%EF%BC%89%E9%A2%84%E7%BC%96%E8%AF%91-toc\" style=\"margin-left:120px\">&#xff08;2&#xff09;\u9884\u7f16\u8bd1<\/p>\n<p id=\"%EF%BC%883%EF%BC%89%E7%BC%96%E8%AF%91%E5%AE%89%E8%A3%85-toc\" style=\"margin-left:120px\">&#xff08;3&#xff09;\u7f16\u8bd1\u5b89\u88c5<\/p>\n<p id=\"%E4%BA%8C%E3%80%81%E4%BD%BF%E7%94%A8systemd%E7%AE%A1%E7%90%86nginx%E6%9C%8D%E5%8A%A1-toc\" style=\"margin-left:0px\">\u4e8c\u3001\u4f7f\u7528systemd\u7ba1\u7406nginx\u670d\u52a1<\/p>\n<p id=\"1.%E7%BC%96%E5%86%99service%E6%96%87%E4%BB%B6-toc\" style=\"margin-left:40px\">1.\u7f16\u5199service\u6587\u4ef6<\/p>\n<p id=\"2.%E4%BD%BF%E7%94%A8systemctl%E5%91%BD%E4%BB%A4%E7%AE%A1%E7%90%86nginx%E6%9C%8D%E5%8A%A1-toc\" style=\"margin-left:40px\">2.\u4f7f\u7528systemctl\u547d\u4ee4\u7ba1\u7406nginx\u670d\u52a1<\/p>\n<p id=\"%E4%B8%89%E3%80%81%E9%AA%8C%E8%AF%81nginx%E6%98%AF%E5%90%A6%E5%AE%89%E8%A3%85%E6%88%90%E5%8A%9F-toc\" style=\"margin-left:0px\">\u4e09\u3001\u9a8c\u8bc1nginx\u662f\u5426\u5b89\u88c5\u6210\u529f<\/p>\n<p id=\"%E6%80%BB%E7%BB%93-toc\" style=\"margin-left:0px\">\u603b\u7ed3<\/p>\n<hr id=\"hr-toc\" \/>\n<\/p>\n<h2 id=\"%E5%89%8D%E8%A8%80\">\u524d\u8a00<\/h2>\n<p>\u968f\u7740\u56fd\u4ea7\u5316\u6280\u672f\u7684\u5feb\u901f\u53d1\u5c55&#xff0c;\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf\u51ed\u501f\u5176\u9ad8\u5b89\u5168\u6027\u548c\u7a33\u5b9a\u6027&#xff0c;\u9010\u6e10\u6210\u4e3a\u4f01\u4e1a\u7ea7\u5e94\u7528\u7684\u91cd\u8981\u9009\u62e9\u3002\u4f5c\u4e3a\u6838\u5fc3\u7684Web\u670d\u52a1\u5f15\u64ce&#xff0c;Nginx\u5728\u9ad8\u5e76\u53d1\u3001\u8d1f\u8f7d\u5747\u8861\u7b49\u573a\u666f\u4e2d\u8868\u73b0\u5353\u8d8a&#xff0c;\u638c\u63e1\u5176\u7f16\u8bd1\u5b89\u88c5\u65b9\u6cd5\u6709\u52a9\u4e8e\u6df1\u5ea6\u9002\u914d\u7cfb\u7edf\u73af\u5883&#xff0c;\u63d0\u5347\u670d\u52a1\u6027\u80fd\u3002\u672c\u6587\u5c06\u4ee5\u7b80\u6d01\u7684\u6b65\u9aa4&#xff0c;\u4ecb\u7ecd\u5982\u4f55\u5728\u94f6\u6cb3\u9e92\u9e9f\u7cfb\u7edf\u4e2d\u4ece\u6e90\u7801\u7f16\u8bd1\u5b89\u88c5Nginx&#xff0c;\u4e3a\u5f00\u53d1\u8005\u4eec\u63d0\u4f9b\u4e00\u4efd\u8f7b\u91cf\u7ea7\u5b9e\u8df5\u6307\u5357\u3002<\/p>\n<h2 id=\"%E4%B8%80%E3%80%81nginx%E5%AE%89%E8%A3%85\">\u4e00\u3001nginx\u5b89\u88c5<\/h2>\n<h3 id=\"%EF%BC%88%E4%B8%80%EF%BC%89%E7%8E%AF%E5%A2%83%E5%87%86%E5%A4%87\">&#xff08;\u4e00&#xff09;\u73af\u5883\u51c6\u5907<\/h3>\n<h4 id=\"1.%E7%B3%BB%E7%BB%9F%E7%8E%AF%E5%A2%83\">1.\u7cfb\u7edf\u73af\u5883<\/h4>\n<p>[root&#064;localhost nginx-1.26.3]# cat \/etc\/.kyinfo<br \/>\n[dist]<br \/>\nname&#061;Kylin-Server<br \/>\nmilestone&#061;V10<br \/>\narch&#061;x86_64<br \/>\nbeta&#061;False<br \/>\ntime&#061;2024-05-08 10:33:19<br \/>\ndist_id&#061;Kylin-Server-V10-SP3-2403-Release-20240426-x86_64-2024-05-08 10:33:19<\/p>\n<p>[servicekey]<br \/>\nkey&#061;0415040<\/p>\n<p>[os]<br \/>\nto&#061;<br \/>\nterm&#061;2025-09-01<\/p>\n<h4 id=\"2.%E7%A6%81%E7%94%A8%E9%98%B2%E7%81%AB%E5%A2%99%E3%80%81%E5%AE%89%E8%A3%85%E7%8E%AF%E5%A2%83%E4%BE%9D%E8%B5%96\">2.\u7981\u7528\u9632\u706b\u5899\u3001\u5b89\u88c5\u73af\u5883\u4f9d\u8d56<\/h4>\n<p># \u7981\u6b62\u9632\u706b\u5899\u81ea\u542f\u52a8\u5e76\u7acb\u523b\u5173\u95ed\u9632\u706b\u5899<br \/>\nsystemctl disable firewalld.service &#8211;now<br \/>\n# \u5f00\u653e\u7aef\u53e380\u3001443\u4e0d\u5173\u95ed\u9632\u706b\u5899\u4e5f\u53ef\u4ee5<\/p>\n<p># \u5b89\u88c5\u6240\u9700\u8f6f\u4ef6<br \/>\nyum -y install gcc make pcre-devel openssl-devel<\/p>\n<p># gcc&#xff1a;GNU \u7f16\u8bd1\u5668\u96c6\u5408&#xff08;C\/C&#043;&#043; \u7b49\u8bed\u8a00\u7684\u7f16\u8bd1\u5668&#xff09;<br \/>\n# make&#xff1a;\u81ea\u52a8\u5316\u6784\u5efa\u5de5\u5177&#xff0c;\u6839\u636e Makefile \u6587\u4ef6\u81ea\u52a8\u6267\u884c\u7f16\u8bd1\u3001\u94fe\u63a5\u7b49\u6d41\u7a0b&#xff0c;\u7b80\u5316\u6e90\u7801\u5b89\u88c5\u6b65\u9aa4<br \/>\n# pcre-devel&#xff1a;Perl \u517c\u5bb9\u6b63\u5219\u8868\u8fbe\u5f0f\u5e93\u7684\u5f00\u53d1\u5305&#xff0c;\u63d0\u4f9b Nginx \u7684 rewrite \u6a21\u5757\u6240\u9700\u7684\u6b63\u5219\u89e3\u6790\u652f\u6301&#xff08;\u5982 URL \u91cd\u5199\u89c4\u5219&#xff09;<br \/>\n# openssl-devel&#xff1a;OpenSSL \u52a0\u5bc6\u5e93\u7684\u5f00\u53d1\u5305&#xff0c;\u4e3a Nginx \u63d0\u4f9b HTTPS&#xff08;SSL\/TLS&#xff09;\u652f\u6301&#xff0c;\u5b9e\u73b0\u6570\u636e\u52a0\u5bc6\u4f20\u8f93<\/p>\n<p>[root&#064;localhost ~]# systemctl disable firewalld &#8211;now<br \/>\nRemoved \/etc\/systemd\/system\/multi-user.target.wants\/firewalld.service.<br \/>\nRemoved \/etc\/systemd\/system\/dbus-org.fedoraproject.FirewallD1.service.<br \/>\n[root&#064;localhost ~]# yum -y install gcc make pcre-devel openssl-devel<br \/>\nLast metadata expiration check: 1:05:38 ago on 2025\u5e7404\u670817\u65e5 \u661f\u671f\u56db 08\u65f659\u520625                                                                                       \u79d2.<br \/>\nPackage gcc-7.3.0-2020033101.58.p01.ky10.x86_64 is already installed.<br \/>\nPackage make-1:4.3-1.ky10.x86_64 is already installed.<br \/>\nPackage pcre-devel-8.44-2.p02.ky10.x86_64 is already installed.<br \/>\nPackage openssl-devel-1:1.1.1f-31.p23.ky10.x86_64 is already installed.<br \/>\nDependencies resolved.<br \/>\n&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n Package          Arch      Version                   Repository           Size<br \/>\n&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\nUpgrading:<br \/>\n openssl          x86_64    1:1.1.1f-31.p29.ky10      ks10-adv-updates    449 k<br \/>\n openssl-devel    x86_64    1:1.1.1f-31.p29.ky10      ks10-adv-updates    1.8 M<br \/>\n openssl-help     noarch    1:1.1.1f-31.p29.ky10      ks10-adv-updates    3.2 M<br \/>\n openssl-libs     x86_64    1:1.1.1f-31.p29.ky10      ks10-adv-updates    1.4 M<br \/>\n openssl-perl     x86_64    1:1.1.1f-31.p29.ky10      ks10-adv-updates     17 k<\/p>\n<p>Transaction Summary<br \/>\n&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\nUpgrade  5 Packages<\/p>\n<p>Total download size: 6.8 M<br \/>\nDownloading Packages:<br \/>\n(1\/5): openssl-1.1.1f-31.p29.ky10.x86_64.rpm    1.6 MB\/s | 449 kB     00:00<br \/>\n(2\/5): openssl-devel-1.1.1f-31.p29.ky10.x86_64. 3.3 MB\/s | 1.8 MB     00:00<br \/>\n(3\/5): openssl-help-1.1.1f-31.p29.ky10.noarch.r 5.3 MB\/s | 3.2 MB     00:00<br \/>\n(4\/5): openssl-perl-1.1.1f-31.p29.ky10.x86_64.r  82 kB\/s |  17 kB     00:00<br \/>\n(5\/5): openssl-libs-1.1.1f-31.p29.ky10.x86_64.r 2.7 MB\/s | 1.4 MB     00:00<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\nTotal                                           8.5 MB\/s | 6.8 MB     00:00<br \/>\nRunning transaction check<br \/>\nTransaction check succeeded.<br \/>\nRunning transaction test<br \/>\nTransaction test succeeded.<br \/>\nRunning transaction<br \/>\n  Preparing        :                                                        1\/1<br \/>\n  Upgrading        : openssl-libs-1:1.1.1f-31.p29.ky10.x86_64              1\/10<br \/>\n  Running scriptlet: openssl-libs-1:1.1.1f-31.p29.ky10.x86_64              1\/10<br \/>\n  Upgrading        : openssl-help-1:1.1.1f-31.p29.ky10.noarch              2\/10<br \/>\n  Upgrading        : openssl-1:1.1.1f-31.p29.ky10.x86_64                   3\/10<br \/>\n  Upgrading        : openssl-perl-1:1.1.1f-31.p29.ky10.x86_64              4\/10<br \/>\n  Upgrading        : openssl-devel-1:1.1.1f-31.p29.ky10.x86_64             5\/10<br \/>\n  Cleanup          : openssl-devel-1:1.1.1f-31.p23.ky10.x86_64             6\/10<br \/>\n  Cleanup          : openssl-perl-1:1.1.1f-31.p23.ky10.x86_64              7\/10<br \/>\n  Cleanup          : openssl-1:1.1.1f-31.p23.ky10.x86_64                   8\/10<br \/>\n  Cleanup          : openssl-help-1:1.1.1f-31.p23.ky10.noarch              9\/10<br \/>\n  Cleanup          : openssl-libs-1:1.1.1f-31.p23.ky10.x86_64             10\/10<br \/>\n  Running scriptlet: openssl-libs-1:1.1.1f-31.p23.ky10.x86_64             10\/10<br \/>\n  Verifying        : openssl-1:1.1.1f-31.p29.ky10.x86_64                   1\/10<br \/>\n  Verifying        : openssl-1:1.1.1f-31.p23.ky10.x86_64                   2\/10<br \/>\n  Verifying        : openssl-devel-1:1.1.1f-31.p29.ky10.x86_64             3\/10<br \/>\n  Verifying        : openssl-devel-1:1.1.1f-31.p23.ky10.x86_64             4\/10<br \/>\n  Verifying        : openssl-help-1:1.1.1f-31.p29.ky10.noarch              5\/10<br \/>\n  Verifying        : openssl-help-1:1.1.1f-31.p23.ky10.noarch              6\/10<br \/>\n  Verifying        : openssl-libs-1:1.1.1f-31.p29.ky10.x86_64              7\/10<br \/>\n  Verifying        : openssl-libs-1:1.1.1f-31.p23.ky10.x86_64              8\/10<br \/>\n  Verifying        : openssl-perl-1:1.1.1f-31.p29.ky10.x86_64              9\/10<br \/>\n  Verifying        : openssl-perl-1:1.1.1f-31.p23.ky10.x86_64             10\/10<\/p>\n<p>Upgraded:<br \/>\n  openssl-1:1.1.1f-31.p29.ky10.x86_64<br \/>\n  openssl-devel-1:1.1.1f-31.p29.ky10.x86_64<br \/>\n  openssl-help-1:1.1.1f-31.p29.ky10.noarch<br \/>\n  openssl-libs-1:1.1.1f-31.p29.ky10.x86_64<br \/>\n  openssl-perl-1:1.1.1f-31.p29.ky10.x86_64<\/p>\n<p>Complete!<\/p>\n<h3 id=\"%EF%BC%88%E4%BA%8C%EF%BC%89%E7%BC%96%E8%AF%91%E5%AE%89%E8%A3%85\">&#xff08;\u4e8c&#xff09;\u7f16\u8bd1\u5b89\u88c5<\/h3>\n<h4 id=\"1.%E5%AE%98%E7%BD%91%E4%B8%8B%E8%BD%BDnginx%E6%BA%90%E7%A0%81%E5%8C%85%EF%BC%8C%E9%80%89%E6%8B%A9%E8%87%AA%E5%B7%B1%E9%9C%80%E8%A6%81%E7%9A%84%E7%89%88%E6%9C%AC%E4%B8%8B%E8%BD%BD\">1.\u5b98\u7f51\u4e0b\u8f7dnginx\u6e90\u7801\u5305&#xff0c;\u9009\u62e9\u81ea\u5df1\u9700\u8981\u7684\u7248\u672c\u4e0b\u8f7d<\/h4>\n<p>nginx\u5b98\u7f51&#xff1a;nginx<\/p>\n<p>[root&#064;localhost ~]# wget https:\/\/nginx.org\/download\/nginx-1.26.3.tar.gz<br \/>\n&#8211;2025-04-17 10:07:50&#8211;  https:\/\/nginx.org\/download\/nginx-1.26.3.tar.gz<br \/>\n\u6b63\u5728\u89e3\u6790\u4e3b\u673a nginx.org (nginx.org)&#8230; 2a05:d014:5c0:2600::6, 2a05:d014:5c0:2601:                                                                                       :6, 52.58.199.22, &#8230;<br \/>\n\u6b63\u5728\u8fde\u63a5 nginx.org (nginx.org)|2a05:d014:5c0:2600::6|:443&#8230; \u5df2\u8fde\u63a5\u3002<br \/>\n\u5df2\u53d1\u51fa HTTP \u8bf7\u6c42&#xff0c;\u6b63\u5728\u7b49\u5f85\u56de\u5e94&#8230; 200 OK<br \/>\n\u957f\u5ea6&#xff1a;1260179 (1.2M) [application\/octet-stream]<br \/>\n\u6b63\u5728\u4fdd\u5b58\u81f3: \u201cnginx-1.26.3.tar.gz\u201d<\/p>\n<p>nginx-1.26.3.tar.gz 100%[&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&gt;]   1.20M   696KB\/s  \u7528\u65f6 1.8s<\/p>\n<p>2025-04-17 10:07:53 (696 KB\/s) &#8211; \u5df2\u4fdd\u5b58 \u201cnginx-1.26.3.tar.gz\u201d [1260179\/1260179])<\/p>\n<h4 id=\"2.%E7%BC%96%E8%AF%91%E5%AE%89%E8%A3%85nginx\">2.\u7f16\u8bd1\u5b89\u88c5nginx<\/h4>\n<h5 id=\"%EF%BC%881%EF%BC%89%E8%A7%A3%E5%8E%8Bnginx%E6%BA%90%E7%A0%81%E5%8C%85\">&#xff08;1&#xff09;\u89e3\u538bnginx\u6e90\u7801\u5305<\/h5>\n<p># \u89e3\u538bnginx\u6e90\u7801\u5305<br \/>\n[root&#064;localhost ~]# tar xvf nginx-1.26.3.tar.gz <\/p>\n<h5 id=\"%EF%BC%882%EF%BC%89%E9%A2%84%E7%BC%96%E8%AF%91\">&#xff08;2&#xff09;\u9884\u7f16\u8bd1<\/h5>\n<p>[root&#064;localhost ~]# cd nginx-1.26.3\/<br \/>\n[root&#064;localhost nginx-1.26.3]# ls<br \/>\nauto     CHANGES.ru  configure  html     man     src<br \/>\nCHANGES  conf        contrib    LICENSE  README<br \/>\n[root&#064;localhost nginx-1.26.3]# .\/configure &#8211;prefix&#061;\/usr\/local\/nginx &#8211;with-http_stub_status_module &#8211;with-http_ssl_module                                             checking for OS<br \/>\n &#043; Linux 4.19.90-89.11.v2401.ky10.x86_64 x86_64<br \/>\nchecking for C compiler &#8230; found<br \/>\n &#043; using GNU C compiler<br \/>\n &#043; gcc version: 7.3.0 (GCC)<br \/>\nchecking for gcc -pipe switch &#8230; found<br \/>\nchecking for -Wl,-E switch &#8230; found<br \/>\nchecking for gcc builtin atomic operations &#8230; found<br \/>\nchecking for C99 variadic macros &#8230; found<br \/>\nchecking for gcc variadic macros &#8230; found<br \/>\nchecking for gcc builtin 64 bit byteswap &#8230; found<br \/>\nchecking for unistd.h &#8230; found<br \/>\nchecking for inttypes.h &#8230; found<br \/>\n&#8230;&#8230;<br \/>\n&#8230;&#8230;<br \/>\nConfiguration summary<br \/>\n  &#043; using system PCRE2 library<br \/>\n  &#043; using system OpenSSL library<br \/>\n  &#043; using system zlib library<\/p>\n<p>  nginx path prefix: &#034;\/usr\/local\/nginx&#034;<br \/>\n  nginx binary file: &#034;\/usr\/local\/nginx\/sbin\/nginx&#034;<br \/>\n  nginx modules path: &#034;\/usr\/local\/nginx\/modules&#034;<br \/>\n  nginx configuration prefix: &#034;\/usr\/local\/nginx\/conf&#034;<br \/>\n  nginx configuration file: &#034;\/usr\/local\/nginx\/conf\/nginx.conf&#034;<br \/>\n  nginx pid file: &#034;\/usr\/local\/nginx\/logs\/nginx.pid&#034;<br \/>\n  nginx error log file: &#034;\/usr\/local\/nginx\/logs\/error.log&#034;<br \/>\n  nginx http access log file: &#034;\/usr\/local\/nginx\/logs\/access.log&#034;<br \/>\n  nginx http client request body temporary files: &#034;client_body_temp&#034;<br \/>\n  nginx http proxy temporary files: &#034;proxy_temp&#034;<br \/>\n  nginx http fastcgi temporary files: &#034;fastcgi_temp&#034;<br \/>\n  nginx http uwsgi temporary files: &#034;uwsgi_temp&#034;<br \/>\n  nginx http scgi temporary files: &#034;scgi_temp&#034;<\/p>\n<h5 id=\"%EF%BC%883%EF%BC%89%E7%BC%96%E8%AF%91%E5%AE%89%E8%A3%85\">&#xff08;3&#xff09;\u7f16\u8bd1\u5b89\u88c5<\/h5>\n<p>[root&#064;localhost nginx-1.26.3]# make &amp;&amp; make install<br \/>\nmake -f objs\/Makefile<br \/>\nmake[1]: \u8fdb\u5165\u76ee\u5f55\u201c\/root\/nginx-1.26.3\u201d<br \/>\n&#8230;&#8230;.<br \/>\n&#8230;&#8230;.<br \/>\ncp conf\/nginx.conf &#039;\/usr\/local\/nginx\/conf\/nginx.conf.default&#039;<br \/>\ntest -d &#039;\/usr\/local\/nginx\/logs&#039; \\\\<br \/>\n        || mkdir -p &#039;\/usr\/local\/nginx\/logs&#039;<br \/>\ntest -d &#039;\/usr\/local\/nginx\/logs&#039; \\\\<br \/>\n        || mkdir -p &#039;\/usr\/local\/nginx\/logs&#039;<br \/>\ntest -d &#039;\/usr\/local\/nginx\/html&#039; \\\\<br \/>\n        || cp -R html &#039;\/usr\/local\/nginx&#039;<br \/>\ntest -d &#039;\/usr\/local\/nginx\/logs&#039; \\\\<br \/>\n        || mkdir -p &#039;\/usr\/local\/nginx\/logs&#039;<br \/>\nmake[1]: \u79bb\u5f00\u76ee\u5f55\u201c\/root\/nginx-1.26.3\u201d<\/p>\n<h2 id=\"%E4%BA%8C%E3%80%81%E4%BD%BF%E7%94%A8systemd%E7%AE%A1%E7%90%86nginx%E6%9C%8D%E5%8A%A1\">\u4e8c\u3001\u4f7f\u7528systemd\u7ba1\u7406nginx\u670d\u52a1<\/h2>\n<h3 id=\"1.%E7%BC%96%E5%86%99service%E6%96%87%E4%BB%B6\">1.\u7f16\u5199service\u6587\u4ef6<\/h3>\n<p>vim \/lib\/systemd\/system\/nginx.service<br \/>\n# \u5982\u4e0b\u662fservice\u6587\u4ef6\u7684\u5185\u5bb9<br \/>\n[Unit]<br \/>\nDescription&#061;nginx service<br \/>\nAfter&#061;network.target remote-fs.target nss-lookup.target<\/p>\n<p>[Service]<br \/>\nType&#061;forking<br \/>\nExecStart&#061;\/usr\/local\/nginx\/sbin\/nginx<br \/>\nExecReload&#061;\/usr\/local\/nginx\/sbin\/nginx -s reload<br \/>\nExecStop&#061;\/usr\/local\/nginx\/sbin\/nginx -s stop<br \/>\nPrivateTmp&#061;true<\/p>\n<p>[Install]<br \/>\nWantedBy&#061;multi-user.target <\/p>\n<p>\u6ce8&#xff1a;# \u5199\u597dservice\u6587\u4ef6\u540e\u9700\u8981systemctl daemon-reload\u91cd\u65b0\u52a0\u8f7d\u914d\u7f6e<\/p>\n<p>[root&#064;localhost nginx-1.26.3]# systemctl daemon-reload <\/p>\n<h3 id=\"2.%E4%BD%BF%E7%94%A8systemctl%E5%91%BD%E4%BB%A4%E7%AE%A1%E7%90%86nginx%E6%9C%8D%E5%8A%A1\">2.\u4f7f\u7528systemctl\u547d\u4ee4\u7ba1\u7406nginx\u670d\u52a1<\/h3>\n<p># \u5f00\u673a\u81ea\u542f<br \/>\nsystemctl enable nginx.service<br \/>\n# \u53d6\u6d88\u5f00\u673a\u81ea\u542f\u52a8<br \/>\nsystemctl disable nginx.service<br \/>\n# \u542f\u52a8<br \/>\nsystemctl start nginx.service<br \/>\n# \u5173\u95ed<br \/>\nsystemctl stop nginx.service<br \/>\n# \u91cd\u542f\u670d\u52a1<br \/>\nsystemctl restart nginx.service<br \/>\n# \u67e5\u770b\u72b6\u6001<br \/>\nsystemctl status nginx.service <\/p>\n<h2 id=\"%E4%B8%89%E3%80%81%E9%AA%8C%E8%AF%81nginx%E6%98%AF%E5%90%A6%E5%AE%89%E8%A3%85%E6%88%90%E5%8A%9F\">\u4e09\u3001\u9a8c\u8bc1nginx\u662f\u5426\u5b89\u88c5\u6210\u529f<\/h2>\n<p>\u5f00\u542fnginx\u670d\u52a1&#xff0c;\u6d4f\u89c8\u5668\u8fdb\u884c\u8bbf\u95ee<\/p>\n<p>[root&#064;localhost nginx-1.26.3]# systemctl daemon-reload<br \/>\n[root&#064;localhost nginx-1.26.3]# systemctl start nginx.service<br \/>\n[root&#064;localhost nginx-1.26.3]# systemctl status nginx.service<br \/>\n\u25cf nginx.service &#8211; nginx service<br \/>\n   Loaded: loaded (\/usr\/lib\/systemd\/system\/nginx.service; disabled; vendor preset: disabled)<br \/>\n   Active: active (running) since Thu 2025-04-17 11:44:21 CST; 8s ago<br \/>\n  Process: 251577 ExecStart&#061;\/usr\/local\/nginx\/sbin\/nginx (code&#061;exited, status&#061;0\/SUCCESS)<br \/>\n Main PID: 251578 (nginx)<br \/>\n    Tasks: 2<br \/>\n   Memory: 1.8M<br \/>\n   CGroup: \/system.slice\/nginx.service<br \/>\n           \u251c\u2500251578 nginx: master process \/usr\/local\/nginx\/sbin\/nginx<br \/>\n           \u2514\u2500251579 nginx: worker process<\/p>\n<p>4\u6708 17 11:44:21 localhost systemd[1]: Starting nginx service&#8230;<br \/>\n4\u6708 17 11:44:21 localhost systemd[1]: Started nginx service.<\/p>\n<h2 id=\"%E2%80%8B%E7%BC%96%E8%BE%91\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"936\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250515085604-6825ac243d81e.png\" width=\"1920\" \/><\/h2>\n<h2 id=\"%E6%80%BB%E7%BB%93\">\u603b\u7ed3<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"820\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250515085604-6825ac24d900b.png\" width=\"1602\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb532\u6b21\uff0c\u70b9\u8d5e8\u6b21\uff0c\u6536\u85cf8\u6b21\u3002\u968f\u7740\u56fd\u4ea7\u5316\u6280\u672f\u7684\u5feb\u901f\u53d1\u5c55\uff0c\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf\u51ed\u501f\u5176\u9ad8\u5b89\u5168\u6027\u548c\u7a33\u5b9a\u6027\uff0c\u9010\u6e10\u6210\u4e3a\u4f01\u4e1a\u7ea7\u5e94\u7528\u7684\u91cd\u8981\u9009\u62e9\u3002\u4f5c\u4e3a\u6838\u5fc3\u7684Web\u670d\u52a1\u5f15\u64ce\uff0cNginx\u5728\u9ad8\u5e76\u53d1\u3001\u8d1f\u8f7d\u5747\u8861\u7b49\u573a\u666f\u4e2d\u8868\u73b0\u5353\u8d8a\uff0c\u638c\u63e1\u5176\u7f16\u8bd1\u5b89\u88c5\u65b9\u6cd5\u6709\u52a9\u4e8e\u6df1\u5ea6\u9002\u914d\u7cfb\u7edf\u73af\u5883\uff0c\u63d0\u5347\u670d\u52a1\u6027\u80fd\u3002\u672c\u6587\u5c06\u4ee5\u7b80\u6d01\u7684\u6b65\u9aa4\uff0c\u4ecb\u7ecd\u5982\u4f55\u5728\u94f6\u6cb3\u9e92\u9e9f\u7cfb\u7edf\u4e2d\u4ece\u6e90\u7801\u7f16\u8bd1\u5b89\u88c5Nginx\uff0c\u4e3a\u5f00\u53d1\u8005\u4eec\u63d0\u4f9b\u4e00\u4efd\u8f7b\u91cf\u7ea7\u5b9e\u8df5\u6307\u5357\u3002_\u9e92\u9e9f\u7cfb\u7edf\u5b89\u88c5nginx<\/p>\n","protected":false},"author":2,"featured_media":37316,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[117,43,44,589],"topic":[],"class_list":["post-37318","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-nginx","tag-43","tag-44","tag-589"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u7cfb\u7edf\u7f16\u8bd1\u5b89\u88c5\u65b0\u7248\u672c\uff08\u6307\u5b9a\u7248\u672c\uff09nginx - \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\/37318.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u7cfb\u7edf\u7f16\u8bd1\u5b89\u88c5\u65b0\u7248\u672c\uff08\u6307\u5b9a\u7248\u672c\uff09nginx - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb532\u6b21\uff0c\u70b9\u8d5e8\u6b21\uff0c\u6536\u85cf8\u6b21\u3002\u968f\u7740\u56fd\u4ea7\u5316\u6280\u672f\u7684\u5feb\u901f\u53d1\u5c55\uff0c\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf\u51ed\u501f\u5176\u9ad8\u5b89\u5168\u6027\u548c\u7a33\u5b9a\u6027\uff0c\u9010\u6e10\u6210\u4e3a\u4f01\u4e1a\u7ea7\u5e94\u7528\u7684\u91cd\u8981\u9009\u62e9\u3002\u4f5c\u4e3a\u6838\u5fc3\u7684Web\u670d\u52a1\u5f15\u64ce\uff0cNginx\u5728\u9ad8\u5e76\u53d1\u3001\u8d1f\u8f7d\u5747\u8861\u7b49\u573a\u666f\u4e2d\u8868\u73b0\u5353\u8d8a\uff0c\u638c\u63e1\u5176\u7f16\u8bd1\u5b89\u88c5\u65b9\u6cd5\u6709\u52a9\u4e8e\u6df1\u5ea6\u9002\u914d\u7cfb\u7edf\u73af\u5883\uff0c\u63d0\u5347\u670d\u52a1\u6027\u80fd\u3002\u672c\u6587\u5c06\u4ee5\u7b80\u6d01\u7684\u6b65\u9aa4\uff0c\u4ecb\u7ecd\u5982\u4f55\u5728\u94f6\u6cb3\u9e92\u9e9f\u7cfb\u7edf\u4e2d\u4ece\u6e90\u7801\u7f16\u8bd1\u5b89\u88c5Nginx\uff0c\u4e3a\u5f00\u53d1\u8005\u4eec\u63d0\u4f9b\u4e00\u4efd\u8f7b\u91cf\u7ea7\u5b9e\u8df5\u6307\u5357\u3002_\u9e92\u9e9f\u7cfb\u7edf\u5b89\u88c5nginx\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/37318.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-15T08:56:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250515085604-6825ac243d81e.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\/37318.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/37318.html\",\"name\":\"\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u7cfb\u7edf\u7f16\u8bd1\u5b89\u88c5\u65b0\u7248\u672c\uff08\u6307\u5b9a\u7248\u672c\uff09nginx - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-05-15T08:56:06+00:00\",\"dateModified\":\"2025-05-15T08:56:06+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/37318.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/37318.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/37318.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u7cfb\u7edf\u7f16\u8bd1\u5b89\u88c5\u65b0\u7248\u672c\uff08\u6307\u5b9a\u7248\u672c\uff09nginx\"}]},{\"@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":"\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u7cfb\u7edf\u7f16\u8bd1\u5b89\u88c5\u65b0\u7248\u672c\uff08\u6307\u5b9a\u7248\u672c\uff09nginx - \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\/37318.html","og_locale":"zh_CN","og_type":"article","og_title":"\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u7cfb\u7edf\u7f16\u8bd1\u5b89\u88c5\u65b0\u7248\u672c\uff08\u6307\u5b9a\u7248\u672c\uff09nginx - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb532\u6b21\uff0c\u70b9\u8d5e8\u6b21\uff0c\u6536\u85cf8\u6b21\u3002\u968f\u7740\u56fd\u4ea7\u5316\u6280\u672f\u7684\u5feb\u901f\u53d1\u5c55\uff0c\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf\u51ed\u501f\u5176\u9ad8\u5b89\u5168\u6027\u548c\u7a33\u5b9a\u6027\uff0c\u9010\u6e10\u6210\u4e3a\u4f01\u4e1a\u7ea7\u5e94\u7528\u7684\u91cd\u8981\u9009\u62e9\u3002\u4f5c\u4e3a\u6838\u5fc3\u7684Web\u670d\u52a1\u5f15\u64ce\uff0cNginx\u5728\u9ad8\u5e76\u53d1\u3001\u8d1f\u8f7d\u5747\u8861\u7b49\u573a\u666f\u4e2d\u8868\u73b0\u5353\u8d8a\uff0c\u638c\u63e1\u5176\u7f16\u8bd1\u5b89\u88c5\u65b9\u6cd5\u6709\u52a9\u4e8e\u6df1\u5ea6\u9002\u914d\u7cfb\u7edf\u73af\u5883\uff0c\u63d0\u5347\u670d\u52a1\u6027\u80fd\u3002\u672c\u6587\u5c06\u4ee5\u7b80\u6d01\u7684\u6b65\u9aa4\uff0c\u4ecb\u7ecd\u5982\u4f55\u5728\u94f6\u6cb3\u9e92\u9e9f\u7cfb\u7edf\u4e2d\u4ece\u6e90\u7801\u7f16\u8bd1\u5b89\u88c5Nginx\uff0c\u4e3a\u5f00\u53d1\u8005\u4eec\u63d0\u4f9b\u4e00\u4efd\u8f7b\u91cf\u7ea7\u5b9e\u8df5\u6307\u5357\u3002_\u9e92\u9e9f\u7cfb\u7edf\u5b89\u88c5nginx","og_url":"https:\/\/www.wsisp.com\/helps\/37318.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-05-15T08:56:06+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250515085604-6825ac243d81e.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\/37318.html","url":"https:\/\/www.wsisp.com\/helps\/37318.html","name":"\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u7cfb\u7edf\u7f16\u8bd1\u5b89\u88c5\u65b0\u7248\u672c\uff08\u6307\u5b9a\u7248\u672c\uff09nginx - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-05-15T08:56:06+00:00","dateModified":"2025-05-15T08:56:06+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/37318.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/37318.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/37318.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u7cfb\u7edf\u7f16\u8bd1\u5b89\u88c5\u65b0\u7248\u672c\uff08\u6307\u5b9a\u7248\u672c\uff09nginx"}]},{"@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\/37318","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=37318"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/37318\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/37316"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=37318"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=37318"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=37318"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=37318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}