{"id":33263,"date":"2023-08-25T10:09:14","date_gmt":"2024-02-18T09:17:02","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8nginx%e5%ae%98%e6%96%b9sprm%e8%bf%9b%e8%a1%8c%e9%87%8d%e5%bb%ba%e3%80%82\/"},"modified":"2024-04-30T20:01:30","modified_gmt":"2024-04-30T12:01:30","slug":"%e4%bd%bf%e7%94%a8nginx%e5%ae%98%e6%96%b9sprm%e8%bf%9b%e8%a1%8c%e9%87%8d%e5%bb%ba%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8nginx%e5%ae%98%e6%96%b9sprm%e8%bf%9b%e8%a1%8c%e9%87%8d%e5%bb%ba%e3%80%82\/","title":{"rendered":"\u4f7f\u7528nginx\u5b98\u65b9SPRM\u8fdb\u884c\u91cd\u5efa"},"content":{"rendered":"<h1>\u4f7f\u7528nginx\u5b98\u65b9SPRM\u8fdb\u884c\u91cd\u65b0\u6784\u5efa<\/h1>\n<h2>One possible paraphrase in Chinese could be: &#8220;\u76ee\u6807&#8221; (m\u00f9<\/h2>\n<p>\u7531\u4e8e\u5728 Apache httpd \u4e2d\uff0c\u53ef\u4ee5\u5feb\u901f\u4f7f\u7528 yum \u8fdb\u884c\u5b89\u88c5\uff0c\u800c\u5728 nginx \u4e2d\uff0c\u6a21\u5757\u5b8c\u5168\u662f\u7b2c\u4e09\u65b9\u9009\u9879\uff0c\u56e0\u6b64\u51b3\u5b9a\u521b\u5efa\u4e00\u4e2a\u5c3d\u53ef\u80fd\u63a5\u8fd1 nginx \u5b98\u65b9 Yum \u4ed3\u5e93\u7684\u81ea\u5b9a\u4e49 RPM \u5305\u3002<\/p>\n<h2>\u8fd9\u6b21\u7684\u9700\u6c42<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">LDAP\u5bfe\u5fdc<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">HTTP\/2\u5bfe\u5fdc<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">SSL\u30e9\u30a4\u30d6\u30e9\u30ea\u57cb\u3081\u8fbc\u307f<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u8907\u6570\u30b5\u30fc\u30d0\u3078\u5c55\u958b\u3059\u308b\u306e\u3068\u5f8c\u3005\u30d0\u30fc\u30b8\u30e7\u30f3\u3042\u3052\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u306e\u3067\u304a\u624b\u8efd\u306brpm\u5316<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">CentOS7\u5411\u3051<\/ul>\n<p>\u4e3a\u4e86\u5b8c\u5168\u652f\u6301HTTP\/2\u6807\u51c6\uff0cLDAP\u6a21\u5757\u9700\u8981\u4f7f\u7528openssl\u5e93\u7684\u67d0\u4e2a\u7279\u5b9a\u7248\u672c\u3002\u7136\u800c\uff0c\u7531\u4e8eCentOS7\u7684\u5b98\u65b9\u4ed3\u5e93\u4e2d\u6ca1\u6709\u5206\u53d1\u8be5\u7248\u672c\uff0c\u6240\u4ee5\u5fc5\u987b\u8fdb\u884c\u5d4c\u5165\u3002<\/p>\n<p>\u56e0\u4e3a\u6709\u8fd9\u6837\u7684\u539f\u56e0\uff0c\u6536\u96c6\u5fc5\u8981\u7684\u6e90\u4ee3\u7801\u5305\u4e5f\u662f\u4e00\u4ef6\u5f88\u7e41\u7410\u7684\u4e8b\u60c5\uff0c\u6240\u4ee5\u6211\u4eec\u4f7f\u7528nginx-build\u4f5c\u4e3a\u4e0b\u8f7d\u5668\u3002<\/p>\n<p>\u5728Docker\u5bb9\u5668\u4e2d\u8fdb\u884crpmbuild\u53ef\u4ee5\u66f4\u52a0\u65b9\u4fbf\u3002<\/p>\n<h3>\u8bf7\u6ce8\u610f<\/h3>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">pcre<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">zlib<\/ul>\n<p>\u867d\u7136\u53ef\u4ee5\u5c06\u4ee5\u4e0a\u7684\u8f6f\u4ef6\u5305\u96c6\u6210\u5728\u4e00\u8d77\uff0c\u4f46\u7531\u4e8e\u6211\u73b0\u5728\u6ca1\u6709\u9047\u5230\u95ee\u9898\uff0c\u6240\u4ee5\u6211\u4f7f\u7528\u64cd\u4f5c\u7cfb\u7edf\u6807\u51c6\u7684\u8f6f\u4ef6\u5305\u8fdb\u884c\u7f16\u8bd1\u3002<\/p>\n<h2>\u6d41\u7a0b<\/h2>\n<h3>1. \u4e0b\u8f7d\u6240\u9700\u7684\u4e1c\u897f (Xia zai suo xu de dongxi)<\/h3>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u4e0b\u8f7dnginx-build\u4e8c\u8fdb\u5236\u6587\u4ef6\u5e76\u89e3\u538b\u5230HOME\u76ee\u5f55\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u4ece\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u60f3\u8981\u6784\u5efa\u7684nginx-SRPM\u7248\u672c\uff0c\u547d\u4ee4\u4e3awget http:\/\/nginx.org\/packages\/centos\/7\/SRPMS\/nginx-1.12.1-1.el7.ngx.src.rpm\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>\u5728HOME\u76ee\u5f55\u4e0b\u5b89\u88c5nginx-SRPM\uff0c\u6587\u4ef6\u5c06\u88ab\u89e3\u538b\u3002\u547d\u4ee4\u4e3arpm -Uvh {SRPM\u8def\u5f84}\u3002<\/p>\n<p>\u5b89\u88c5\u6240\u9700\u7684\u4f9d\u8d56\u5305\uff08\u64cd\u4f5c\u7cfb\u7edf\u6807\u51c6\u5305\uff09\u3002\u547d\u4ee4\u4e3asudo yum install pcre-devel.x86_64 zlib-devel.x86_64 openldap-devel.x86_64\u3002<\/p>\n<p>\u4e0b\u8f7dnginx-build\u7684\u6700\u65b0\u7248\u672c\u3002\u547d\u4ee4\u4e3a.\/nginx-build -v 1.12.1 -m module_3rdparty.ini -openssl -clear -configureonly -d work\u3002<\/p>\n<pre class=\"post-pre\"><code>\/\/module_3rdparty.ini\r\n[nginx-auth-ldap]\r\nform=git\r\nurl=https:\/\/github.com\/kvspb\/nginx-auth-ldap\r\nrev=master\r\n<\/code><\/pre>\n<p>\u5f53\u60a8\u901a\u8fc7nginx-build\u8fdb\u884c\u4e0b\u8f7d\u65f6\uff0c\u5c06\u751f\u6210\u4ee5\u4e0b\u76ee\u5f55\u3002<\/p>\n<pre class=\"post-pre\"><code>$ ls -la work\/nginx\/1.12.1\/\r\nnginx-1.12.1\/ nginx-1.12.1.tar.gz nginx-auth-ldap\/ nginx-auth-ldap.log openssl-1.0.2n\/ openssl-1.0.2n.tar.gz\r\n<\/code><\/pre>\n<p>\u6a21\u5757\u7684\u76ee\u5f55\u770b\u8d77\u6765\u662f\u8fd9\u6837\u7684<\/p>\n<pre class=\"post-pre\"><code>ls -la work\/nginx\/1.12.1\/nginx-auth-ldap\/\r\ntotal 100\r\ndrwxrwxrwx 3 builder builder 113 Apr 16 11:43 .\r\ndrwxr-xr-x 5 builder builder 148 Apr 16 11:43 ..\r\ndrwxrwxrwx 8 builder builder 152 Apr 16 11:43 .git\r\n-rw-rw-rw- 1 builder builder 1507 Apr 16 11:43 LICENSE\r\n-rw-rw-rw- 1 builder builder 3537 Apr 16 11:43 README.md\r\n-rw-rw-rw- 1 builder builder 672 Apr 16 11:43 config\r\n-rw-rw-rw- 1 builder builder 1590 Apr 16 11:43 example.conf\r\n-rw-rw-rw- 1 builder builder 83529 Apr 16 11:43 ngx_http_auth_ldap_module.c\r\n<\/code><\/pre>\n<h3>2. \u51c6\u5907\u5efa\u9020<\/h3>\n<ol>\u8fdb\u5165\u5de5\u4f5c\u76ee\u5f55\u4e0b\u7684nginx\u7248\u672c1.12.1\u6587\u4ef6\u5939\uff0c\u6253\u5305nginx-auth-ldap\u6587\u4ef6\u5e76\u5c06\u5176\u50a8\u5b58\u5728~\/rpmbuild\/SOURCES\/nginx-auth-ldap.tar.gz\u4e2d\u3002\u5c06openssl-1.0.2l.tar.gz\u6587\u4ef6\u590d\u5236\u5230~\/rpmbuild\/SOURCES\/\u76ee\u5f55\u4e2d\u3002<\/ol>\n<h3>\u4fee\u6539SPEC\u6587\u4ef6<\/h3>\n<p>\u6211\u6240\u505a\u7684<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">openssl\u306f\u540c\u68b1\u3055\u305b\u308b\u306e\u3067require\u3092\u5916\u3059<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">module\u8ffd\u52a0\u3059\u308b\u306e\u3067\u305d\u308c\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u8ffd\u52a0<\/ul>\n<\/li>\n<\/ul>\n<p>&#8211;add-module=nginx-auth-ldap &#8211;with-openssl=openssl-1.0.2l &#8211;with-openssl-opt=&#8217;-fPIC'&#8221;<\/p>\n<p>build\u6642\u306b\u540c\u68b1\u3055\u305b\u308b\u306e\u3067\u305d\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u8ffd\u52a0<\/p>\n<p>Source14: nginx-auth-ldap.tar.gz<br \/>\nSource15: openssl-1.0.2l.tar.gz<br \/>\n%setup -a 14 -a 15 -q -n nginx-%{version}<\/p>\n<p>\u5173\u4e8esetup\u5b8f\u9009\u9879\u7684\u542b\u4e49\uff0c\u60a8\u53ef\u4ee5\u5728\u8fd9\u91cc\u53c2\u8003\uff1a<br \/>\nhttps:\/\/vinelinux.org\/docs\/vine6\/making-rpm\/setup-macro.html<\/p>\n<p>\u8fd9\u91cc\u662f\u4ee5\u4e0a\u5185\u5bb9\u7684diff\u3002<\/p>\n<pre class=\"post-pre\"><code>diff <span class=\"nt\">-u<\/span> nginx.spec rpmbuild\/SPECS\/nginx.spec\r\n<span class=\"nt\">---<\/span> nginx.spec 2017-07-11 22:49:34.000000000 +0900\r\n+++ rpmbuild\/SPECS\/nginx.spec 2017-09-12 18:53:00.060241472 +0900\r\n@@ <span class=\"nt\">-12<\/span>,8 +12,8 @@\r\nRequires<span class=\"o\">(<\/span>pre<span class=\"o\">)<\/span>: shadow-utils\r\nRequires: initscripts <span class=\"o\">&gt;=<\/span> 8.36\r\nRequires<span class=\"o\">(<\/span>post<span class=\"o\">)<\/span>: chkconfig\r\n<span class=\"nt\">-Requires<\/span>: openssl\r\n<span class=\"nt\">-BuildRequires<\/span>: openssl-devel\r\n+#Requires: openssl\r\n+#BuildRequires: openssl-devel\r\n%endif\r\n%if 0%<span class=\"o\">{<\/span>?rhel<span class=\"o\">}<\/span> <span class=\"o\">==<\/span> 6\r\n@@ <span class=\"nt\">-21<\/span>,8 +21,8 @@\r\nRequires<span class=\"o\">(<\/span>pre<span class=\"o\">)<\/span>: shadow-utils\r\nRequires: initscripts <span class=\"o\">&gt;=<\/span> 8.36\r\nRequires<span class=\"o\">(<\/span>post<span class=\"o\">)<\/span>: chkconfig\r\n<span class=\"nt\">-Requires<\/span>: openssl <span class=\"o\">&gt;=<\/span> 1.0.1\r\n<span class=\"nt\">-BuildRequires<\/span>: openssl-devel <span class=\"o\">&gt;=<\/span> 1.0.1\r\n+#Requires: openssl <span class=\"o\">&gt;=<\/span> 1.0.1\r\n+#BuildRequires: openssl-devel <span class=\"o\">&gt;=<\/span> 1.0.1\r\n%endif\r\n%if 0%<span class=\"o\">{<\/span>?rhel<span class=\"o\">}<\/span> <span class=\"o\">==<\/span> 7\r\n@@ <span class=\"nt\">-31<\/span>,9 +31,9 @@\r\nEpoch: %<span class=\"o\">{<\/span>epoch<span class=\"o\">}<\/span>\r\nRequires<span class=\"o\">(<\/span>pre<span class=\"o\">)<\/span>: shadow-utils\r\nRequires: systemd\r\n<span class=\"nt\">-Requires<\/span>: openssl <span class=\"o\">&gt;=<\/span> 1.0.1\r\n+#Requires: openssl <span class=\"o\">&gt;=<\/span> 1.0.1\r\nBuildRequires: systemd\r\n<span class=\"nt\">-BuildRequires<\/span>: openssl-devel <span class=\"o\">&gt;=<\/span> 1.0.1\r\n+#BuildRequires: openssl-devel <span class=\"o\">&gt;=<\/span> 1.0.1\r\n%endif\r\n%if 0%<span class=\"o\">{<\/span>?suse_version<span class=\"o\">}<\/span> <span class=\"o\">==<\/span> 1315\r\n@@ <span class=\"nt\">-41<\/span>,7 +41,7 @@\r\n%define nginx_loggroup trusted\r\nRequires<span class=\"o\">(<\/span>pre<span class=\"o\">)<\/span>: shadow\r\nRequires: systemd\r\n<span class=\"nt\">-BuildRequires<\/span>: libopenssl-devel\r\n+#BuildRequires: libopenssl-devel\r\nBuildRequires: systemd\r\n%endif\r\n@@ <span class=\"nt\">-55<\/span>,7 +55,7 @@\r\n%define WITH_CC_OPT <span class=\"si\">$(<\/span><span class=\"nb\">echo<\/span> %<span class=\"o\">{<\/span>optflags<span class=\"o\">}<\/span> <span class=\"si\">$(<\/span>pcre-config <span class=\"nt\">--cflags<\/span><span class=\"si\">))<\/span> <span class=\"nt\">-fPIC<\/span>\r\n%define WITH_LD_OPT <span class=\"nt\">-Wl<\/span>,-z,relro <span class=\"nt\">-Wl<\/span>,-z,now <span class=\"nt\">-pie<\/span>\r\n-%define BASE_CONFIGURE_ARGS <span class=\"si\">$(<\/span><span class=\"nb\">echo<\/span> <span class=\"s2\">\"--prefix=%{_sysconfdir}\/nginx --sbin-path=%{_sbindir}\/nginx --modules-path=%{_libdir}\/nginx\/modules --conf-path=%{_sysconfdir}\/nginx\/nginx.conf --error-log-path=%{_localstatedir}\/log\/nginx\/error.log --http-log-path=%{_localstatedir}\/log\/nginx\/access.log --pid-path=%{_localstatedir}\/run\/nginx.pid --lock-path=%{_localstatedir}\/run\/nginx.lock --http-client-body-temp-path=%{_localstatedir}\/cache\/nginx\/client_temp --http-proxy-temp-path=%{_localstatedir}\/cache\/nginx\/proxy_temp --http-fastcgi-temp-path=%{_localstatedir}\/cache\/nginx\/fastcgi_temp --http-uwsgi-temp-path=%{_localstatedir}\/cache\/nginx\/uwsgi_temp --http-scgi-temp-path=%{_localstatedir}\/cache\/nginx\/scgi_temp --user=%{nginx_user} --group=%{nginx_group} --with-compat --with-file-aio --with-threads --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-mail --with-mail_ssl_module --with-stream --with-stream_realip_module --with-stream_ssl_module --with-stream_ssl_preread_module\"<\/span><span class=\"si\">)<\/span>\r\n+%define BASE_CONFIGURE_ARGS <span class=\"si\">$(<\/span><span class=\"nb\">echo<\/span> <span class=\"s2\">\"--prefix=%{_sysconfdir}\/nginx --sbin-path=%{_sbindir}\/nginx --modules-path=%{_libdir}\/nginx\/modules --conf-path=%{_sysconfdir}\/nginx\/nginx.conf --error-log-path=%{_localstatedir}\/log\/nginx\/error.log --http-log-path=%{_localstatedir}\/log\/nginx\/access.log --pid-path=%{_localstatedir}\/run\/nginx.pid --lock-path=%{_localstatedir}\/run\/nginx.lock --http-client-body-temp-path=%{_localstatedir}\/cache\/nginx\/client_temp --http-proxy-temp-path=%{_localstatedir}\/cache\/nginx\/proxy_temp --http-fastcgi-temp-path=%{_localstatedir}\/cache\/nginx\/fastcgi_temp --http-uwsgi-temp-path=%{_localstatedir}\/cache\/nginx\/uwsgi_temp --http-scgi-temp-path=%{_localstatedir}\/cache\/nginx\/scgi_temp --user=%{nginx_user} --group=%{nginx_group} --with-compat --with-file-aio --with-threads --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-mail --with-mail_ssl_module --with-stream --with-stream_realip_module --with-stream_ssl_module --with-stream_ssl_preread_module --add-module=nginx-auth-ldap --with-openssl=openssl-1.0.2l --with-openssl-opt='-fPIC'\"<\/span><span class=\"si\">)<\/span>\r\nSummary: High performance web server\r\nName: nginx\r\n@@ <span class=\"nt\">-78<\/span>,6 +78,8 @@\r\nSource11: nginx-debug.service\r\nSource12: COPYRIGHT\r\nSource13: nginx.check-reload.sh\r\n+Source14: nginx-auth-ldap.tar.gz\r\n+Source15: openssl-1.0.2l.tar.gz\r\n\r\nLicense: 2-clause BSD-like license\r\n\r\n@@ <span class=\"nt\">-96<\/span>,7 +98,7 @@\r\n%endif\r\n\r\n%prep\r\n-%setup <span class=\"nt\">-q<\/span>\r\n+%setup <span class=\"nt\">-a<\/span> 14 <span class=\"nt\">-a<\/span> 15 <span class=\"nt\">-q<\/span> <span class=\"nt\">-n<\/span> nginx-%<span class=\"o\">{<\/span>version<span class=\"o\">}<\/span>\r\n<span class=\"nb\">cp<\/span> %<span class=\"o\">{<\/span>SOURCE2<span class=\"o\">}<\/span> <span class=\"nb\">.<\/span>\r\n<span class=\"nb\">sed<\/span> <span class=\"nt\">-e<\/span> <span class=\"s1\">'s|%%DEFAULTSTART%%|2 3 4 5|g'<\/span> <span class=\"nt\">-e<\/span> <span class=\"s1\">'s|%%DEFAULTSTOP%%|0 1 6|g'<\/span> <span class=\"se\">\\<\/span>\r\n<span class=\"nt\">-e<\/span> <span class=\"s1\">'s|%%PROVIDES%%|nginx|g'<\/span> &lt; %<span class=\"o\">{<\/span>SOURCE2<span class=\"o\">}<\/span> <span class=\"o\">&gt;<\/span> nginx.init\r\n<\/code><\/pre>\n<h3>4. \u8fd0\u884cbuild<\/h3>\n<ol>\u5982\u679c\u6267\u884c\u7528\u6237\u662fbuild\u7528\u6237\uff0c\u8bf7\u66f4\u6539\u4e3a\u8be5\u7528\u6237\u3002\u5207\u6362\u5230~\/rpmbuild\u76ee\u5f55\uff0c\u7136\u540e\u6267\u884crpmbuild -ba &#8211;clean SPECS\/nginx.spec\u3002\u5982\u679c\u6ca1\u6709\u9519\u8bef\uff0c\u5c06\u5728RPMS\/\u76ee\u5f55\u4e2d\u751f\u6210rpm\u6587\u4ef6\u3002<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>\u4f7f\u7528nginx\u5b98\u65b9SPRM\u8fdb\u884c\u91cd\u65b0\u6784\u5efa One possible paraphrase in Chinese  [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-33263","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4f7f\u7528nginx\u5b98\u65b9SPRM\u8fdb\u884c\u91cd\u5efa - Blog - Silicon Cloud<\/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.silicloud.com\/zh\/blog\/\u4f7f\u7528nginx\u5b98\u65b9sprm\u8fdb\u884c\u91cd\u5efa\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4f7f\u7528nginx\u5b98\u65b9SPRM\u8fdb\u884c\u91cd\u5efa\" \/>\n<meta property=\"og:description\" content=\"\u4f7f\u7528nginx\u5b98\u65b9SPRM\u8fdb\u884c\u91cd\u65b0\u6784\u5efa One possible paraphrase in Chinese [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u4f7f\u7528nginx\u5b98\u65b9sprm\u8fdb\u884c\u91cd\u5efa\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2024-02-18T09:17:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-30T12:01:30+00:00\" \/>\n<meta name=\"author\" content=\"\u6e05, \u5b87\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6e05, \u5b87\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8nginx%e5%ae%98%e6%96%b9sprm%e8%bf%9b%e8%a1%8c%e9%87%8d%e5%bb%ba%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8nginx%e5%ae%98%e6%96%b9sprm%e8%bf%9b%e8%a1%8c%e9%87%8d%e5%bb%ba%e3%80%82\/\",\"name\":\"\u4f7f\u7528nginx\u5b98\u65b9SPRM\u8fdb\u884c\u91cd\u5efa - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2024-02-18T09:17:02+00:00\",\"dateModified\":\"2024-04-30T12:01:30+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8nginx%e5%ae%98%e6%96%b9sprm%e8%bf%9b%e8%a1%8c%e9%87%8d%e5%bb%ba%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8nginx%e5%ae%98%e6%96%b9sprm%e8%bf%9b%e8%a1%8c%e9%87%8d%e5%bb%ba%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8nginx%e5%ae%98%e6%96%b9sprm%e8%bf%9b%e8%a1%8c%e9%87%8d%e5%bb%ba%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4f7f\u7528nginx\u5b98\u65b9SPRM\u8fdb\u884c\u91cd\u5efa\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e\",\"name\":\"\u6e05, \u5b87\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g\",\"caption\":\"\u6e05, \u5b87\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyu\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8nginx%e5%ae%98%e6%96%b9sprm%e8%bf%9b%e8%a1%8c%e9%87%8d%e5%bb%ba%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u4f7f\u7528nginx\u5b98\u65b9SPRM\u8fdb\u884c\u91cd\u5efa - Blog - Silicon Cloud","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.silicloud.com\/zh\/blog\/\u4f7f\u7528nginx\u5b98\u65b9sprm\u8fdb\u884c\u91cd\u5efa\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"\u4f7f\u7528nginx\u5b98\u65b9SPRM\u8fdb\u884c\u91cd\u5efa","og_description":"\u4f7f\u7528nginx\u5b98\u65b9SPRM\u8fdb\u884c\u91cd\u65b0\u6784\u5efa One possible paraphrase in Chinese [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u4f7f\u7528nginx\u5b98\u65b9sprm\u8fdb\u884c\u91cd\u5efa\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2024-02-18T09:17:02+00:00","article_modified_time":"2024-04-30T12:01:30+00:00","author":"\u6e05, \u5b87","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u6e05, \u5b87","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8nginx%e5%ae%98%e6%96%b9sprm%e8%bf%9b%e8%a1%8c%e9%87%8d%e5%bb%ba%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8nginx%e5%ae%98%e6%96%b9sprm%e8%bf%9b%e8%a1%8c%e9%87%8d%e5%bb%ba%e3%80%82\/","name":"\u4f7f\u7528nginx\u5b98\u65b9SPRM\u8fdb\u884c\u91cd\u5efa - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2024-02-18T09:17:02+00:00","dateModified":"2024-04-30T12:01:30+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8nginx%e5%ae%98%e6%96%b9sprm%e8%bf%9b%e8%a1%8c%e9%87%8d%e5%bb%ba%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8nginx%e5%ae%98%e6%96%b9sprm%e8%bf%9b%e8%a1%8c%e9%87%8d%e5%bb%ba%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8nginx%e5%ae%98%e6%96%b9sprm%e8%bf%9b%e8%a1%8c%e9%87%8d%e5%bb%ba%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u4f7f\u7528nginx\u5b98\u65b9SPRM\u8fdb\u884c\u91cd\u5efa"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e","name":"\u6e05, \u5b87","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g","caption":"\u6e05, \u5b87"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyu\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8nginx%e5%ae%98%e6%96%b9sprm%e8%bf%9b%e8%a1%8c%e9%87%8d%e5%bb%ba%e3%80%82\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/33263","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=33263"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/33263\/revisions"}],"predecessor-version":[{"id":93996,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/33263\/revisions\/93996"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=33263"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=33263"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=33263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}