{"id":33052,"date":"2023-10-10T15:50:20","date_gmt":"2022-11-26T17:47:18","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8nginx%e5%b0%86wordpress%e7%ad%89%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e9%85%8d%e7%bd%ae%e4%b8%ba%e6%94%af%e6%8c%81ssl%e3%80%82\/"},"modified":"2024-05-04T03:37:31","modified_gmt":"2024-05-03T19:37:31","slug":"%e4%bd%bf%e7%94%a8nginx%e5%b0%86wordpress%e7%ad%89%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e9%85%8d%e7%bd%ae%e4%b8%ba%e6%94%af%e6%8c%81ssl%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8nginx%e5%b0%86wordpress%e7%ad%89%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e9%85%8d%e7%bd%ae%e4%b8%ba%e6%94%af%e6%8c%81ssl%e3%80%82\/","title":{"rendered":"\u4f7f\u7528Nginx\u5c06WordPress\u7b49\u5e94\u7528\u7a0b\u5e8f\u914d\u7f6e\u4e3a\u652f\u6301SSL"},"content":{"rendered":"<div>\n<div class=\"post-table\"><a id=\"reference-1aa3e145e7a76812d8d3\" href=\"https:\/\/qiita.com\/taconana\/items\/d382d08a83a2a67f3b6a\">..\/<\/a><\/div>\n<\/div>\n<p>\u6211\u5728CentOS Stream 8\u4e0a\u5b89\u88c5\u4e86PHP7.4\uff0c\u5e76\u5728Nginx\u4e0a\u8fd0\u884c\u3002\u7136\u540e\u6211\u4e5f\u5b89\u88c5\u4e86WordPress 6.0\uff0c\u5e76\u8fdb\u884c\u4e86\u6d4b\u8bd5\u3002\u5df2\u7ecf\u786e\u8ba4\u5b83\u572880\u7aef\u53e3\u6b63\u5e38\u5de5\u4f5c\u3002\u6211\u8bd5\u7740\u8ba9\u5b83\u4eec\u652f\u6301SSL\uff0c\u5e76\u5728443\u7aef\u53e3\u4e0a\u8fdb\u884c\u8bbf\u95ee\u3002<\/p>\n<p>\u60a8\u53ef\u4ee5\u4f7f\u7528\u201cCentOS8.2\u4e0a\u7684SSL\u8bc1\u4e66\uff08Let&#8217;s Encrypt\uff09\u8bbe\u7f6e\u6b65\u9aa4\u201d\u4e2d\u83b7\u53d6\u7684SSL\u5bc6\u94a5\u3002\u53ea\u9700\u9002\u5f53\u5730\u7f16\u5199nginx.conf\u7b49\u6587\u4ef6\uff0c\u5e76\u91cd\u65b0\u542f\u52a8\u5373\u53ef\u5b8c\u6210\u64cd\u4f5c\u3002<\/p>\n<pre class=\"post-pre\"><code>$ ls -lag \/etc\/nginx\r\ndrwxr-xr-x 2 root root 4096 2022-06-23 16:30 conf.d\r\n-rw-r--r-- 1 root root 1077 2021-12-22 04:43 fastcgi.conf\r\n-rw-r--r-- 1 root root 1007 2021-12-22 04:43 fastcgi_params\r\n-rw-r--r-- 1 root root  910 2022-06-24 10:21 nginx-443.conf       \/\/ \u65b0\u898f\r\n-rw-r--r-- 1 root root  476 2022-06-24 10:20 nginx-80.conf        \/\/ \u65b0\u898f\r\n-rw-r--r-- 1 root root  530 2022-06-24 10:24 nginx-location.conf  \/\/ \u65b0\u898f\r\n-rw-r--r-- 1 root root 1225 2022-06-24 10:13 nginx.conf           \/\/ \u7de8\u96c6\r\n<\/code><\/pre>\n<p>\u6211\u5c06nginx.conf\u6587\u4ef6\u4fee\u6539\u5982\u4e0b\uff0c\u5e76\u4ec5\u5c55\u793a\u4e86\u66f4\u6539\u7684\u90e8\u5206\u3002<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30e6\u30fc\u30b6\u30fc\u306fApache\u3068\u9023\u643a\u3057\u305f\u3044\u306e\u3067www\u306b\u5909\u66f4\u3057\u3066\u304a\u304f\u3002\u300cNginx\u3068Apache\u306e\u7af6\u5408\u3092\u907f\u3051\u3066\u3001www\u30e6\u30fc\u30b6\u306b\u7d71\u4e00\u3057\u305f\u300d\u3092\u53c2\u7167\u306e\u3053\u3068<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">http\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u5185\u306eserver\u8a18\u8ff0\u3092\u3001nginx-80.conf\u3068nginx-443.conf\u306b\u5206\u96e2\u3057\u3066\u3044\u308b<\/ul>\n<pre class=\"post-pre\"><code>$ vi \/etc\/nginx\/nginx.conf\r\n\r\n$ user nginx;\r\nuser www;\r\n...\r\nhttp {\r\n\t...\r\n    include \/etc\/nginx\/nginx-80.conf;\r\n    include \/etc\/nginx\/nginx-443.conf;\r\n}\r\n<\/code><\/pre>\n<p>nginx-80.conf\u7684\u5185\u5bb9\u5982\u4e0b\u3002<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">443\u3092default_server\u306b\u3057\u305f\u3044\u306e\u3067\u300180\u304b\u3089\u306f\u5916\u3057\u3066\u304a\u304f<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">location\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u306f\u3001\u5171\u901a\u5316\u306e\u305f\u3081nginx-location.conf\u306b\u307e\u3068\u3081\u3066\u304a\u304f<\/ul>\n<pre class=\"post-pre\"><code>$ vi \/etc\/nginx\/nginx-80.conf\r\n\r\n    server {\r\n\r\n#       listen       80 default_server;\r\n        listen       80;\r\n#       listen       [::]:80 default_server;\r\n        listen       [::]:80;\r\n#       server_name  _;\r\n        server_name  kankeri.com www.kankeri.com;\r\n#       root         \/usr\/share\/nginx\/html;\r\n        root         \/opt\/php74\/webapps;\r\n\r\n        include \/etc\/nginx\/default.d\/*.conf;\r\n        include \/etc\/nginx\/nginx-location.conf;\r\n    }\r\n<\/code><\/pre>\n<p>nginx-443.conf\u7684\u5185\u5bb9\u5982\u4e0b\u6240\u793a\u3002<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">443\u3092default_server\u306b\u3057\u3066\u304a\u304f<\/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\u306e\u9375\u306f\u300cCentOS8.2\u3067SSL\u8a3c\u660e\u66f8\uff08Let&#8217;s Encrypt\uff09\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3059\u308b\u624b\u9806\u300d\u3067\u53d6\u5f97\u3057\u305f\u3082\u306e\u3092\u4f7f\u3046<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">location\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u306f\u3001\u5171\u901a\u5316\u306e\u305f\u3081nginx-location.conf\u306b\u307e\u3068\u3081\u3066\u304a\u304f<\/ul>\n<pre class=\"post-pre\"><code>$ vi \/etc\/nginx\/nginx-443.conf\r\n\r\n    server {\r\n        \r\n        listen       443 ssl http2 default_server;\r\n        listen       [::]:443 ssl http2 default_server;\r\n#       server_name  _;\r\n        server_name  kankeri.com www.kankeri.com;\r\n#       root         \/usr\/share\/nginx\/html;\r\n        root         \/opt\/php74\/webapps;\r\n\r\n#       ssl_certificate \"\/etc\/pki\/nginx\/server.crt\";\r\n        ssl_certificate \"\/etc\/letsencrypt\/live\/kankeri.com\/fullchain.pem\";\r\n#       ssl_certificate_key \"\/etc\/pki\/nginx\/private\/server.key\";\r\n        ssl_certificate_key \"\/etc\/letsencrypt\/live\/kankeri.com\/privkey.pem\";\r\n        ssl_protocols TLSv1 TLSv1.1 TLSv1.2;\r\n        ssl_session_cache shared:SSL:1m;\r\n        ssl_session_timeout  10m;\r\n        ssl_ciphers PROFILE=SYSTEM;\r\n        ssl_prefer_server_ciphers on;\r\n\r\n        include \/etc\/nginx\/default.d\/*.conf;\r\n        include \/etc\/nginx\/nginx-location.conf;\r\n    }\r\n<\/code><\/pre>\n<p>nginx-location.conf\u7684\u5185\u5bb9\u5982\u4e0b\u3002<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30aa\u30ea\u30b8\u30ca\u30eb\u306enginx.conf\u306e\u8a18\u8ff0\u3092\u30b3\u30d4\u30da\u3057\u3066\u6539\u5909\u3057\u3066\u3044\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">.php\u306e\u3068\u304d\u3001fastcgi(php-fpm)\u3092\u547c\u3073\u51fa\u3059<\/ul>\n<pre class=\"post-pre\"><code>$ vi \/etc\/nginx\/nginx-location.conf\r\n\r\n    index index.php index.html;\r\n    charset utf-8;\r\n\r\n    location \/ {\r\n        try_files $uri $uri\/ \/index.php?$args;\r\n    }\r\n    location ~ \\.php$ {\r\n        fastcgi_pass 127.0.0.1:9000;\r\n        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;\r\n        fastcgi_param PATH_INFO $fastcgi_script_name;\r\n        include fastcgi_params;\r\n    }\r\n    location ~ \/\\. { deny all; }\r\n    location ~* \/wp-config.php { deny all; }\r\n    location ~* \/(?:uploads|files)\/.*\\.php$ { deny all; }\r\n    location ~* \\.(js|css|png|jpg|jpeg|gif|ico)$ {\r\n        expires max;\r\n        log_not_found off;\r\n    }\r\n    error_page 404 \/404.html;\r\n    location = \/40x.html { }\r\n    error_page 500 502 503 504 \/50x.html;\r\n    location = \/50x.html { }\r\n\r\n$ nginx -t\r\n<\/code><\/pre>\n<p>\u8d77\u521d\uff0c\u7531\u4e8e\u5bf9php-fpm\u4e0d\u592a\u4e86\u89e3\uff0c\u6211\u8fdb\u884c\u4e86\u8c03\u67e5\u3002<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">FPM\uff1aFastCGI Process Manager\u306e\u3053\u3068\u3002PHP\u7528\u306b php-fpm \u304c\u3042\u308b\u3002<\/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\">FastCGI\uff1a\u30d7\u30ed\u30bb\u30b9\u521d\u56de\u5b9f\u884c\u6642\u306b\u8a72\u5f53\u30d7\u30ed\u30bb\u30b9\u3092\u4e00\u5b9a\u6642\u9593\u30b5\u30fc\u30d0\u30fc\u5185\u306b\u4fdd\u6301\u3059\u308b\u3053\u3068\u3067\u3001\u6b21\u56de\u4ee5\u964d\u3001\u5b9f\u884c\u6642\u306e\u300c\u30d7\u30ed\u30bb\u30b9\u306e\u8d77\u52d5\/\u7d42\u4e86\u300d\u3092\u7701\u7565\u3057\u3001 \u9ad8\u901f\u5316\u3084\u3001\u30d7\u30ed\u30bb\u30b9\u306e\u8d77\u52d5\/\u7d42\u4e86\u306b\u4f34\u3046CPU\u3078\u306e\u8ca0\u8377\u3092\u8efd\u6e1b\u3059\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">php-fpm\uff1aPHP\u7528\u306eFPM\u3002\u5358\u7d14\u306acgi\u3060\u3068\u3001\u51e6\u7406\u3054\u3068\u306b\u30d7\u30ed\u30bb\u30b9\u306e\u751f\u6210\u3068\u7834\u68c4\u3092\u7e70\u308a\u8fd4\u3059\u305f\u3081\u3001\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\u304c\u5927\u304d\u3044\u3002php-fpm\u3060\u3068\u3001\u30d7\u30ed\u30bb\u30b9\u306e\u4f7f\u3044\u56de\u3057\u304c\u3067\u304d\u3001\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\u304c\u306a\u304f\u306a\u308b\u3002OPCache\u3082\u4f7f\u3048\u308b\u3002<\/ul>\n<p>\u6211\u5df2\u7ecf\u68c0\u67e5\u4e86\u4e0ephp-fpm\u76f8\u5173\u7684\u8bbe\u7f6e\u3002\u8fd9\u6b21\u4e0d\u9700\u8981\u8fdb\u884c\u4efb\u4f55\u66f4\u6539\uff0c\u73b0\u6709\u7684\u8bbe\u7f6e\u5df2\u7ecf\u8db3\u591f\u4e86\u3002\u6211\u5c06\u91cd\u65b0\u542f\u52a8php-fpm\u548cNginx\u3002<\/p>\n<pre class=\"post-pre\"><code>$ vi \/etc\/php-fpm.conf\t\t\t\t\t\/\/ \u7279\u306b\u89e6\u3089\u305a\r\n$ vi \/etc\/php-fpm.d\/www.conf\t\t\t\/\/ \u7279\u306b\u89e6\u3089\u305a\r\n$ vi \/etc\/nginx\/conf.d\/php-fpm.conf \t\/\/ \u7279\u306b\u89e6\u3089\u305a\r\nupstream php-fpm {\r\n   server unix:\/run\/php-fpm\/www.sock;\r\n}\r\n$ ls -lag \/run\/php-fpm\/\r\n-rw-r--r-- 1 root root 7 2022-06-23 16:56 php-fpm.pid\r\nsrw-rw---- 1 www  www  0 2022-06-23 16:56 www.sock\r\n\r\n$ systemctl restart php-fpm\r\n$ systemctl restart nginx\r\n<\/code><\/pre>\n<div>\n<div class=\"post-table\"><a href=\"https:\/\/qiita.com\/taconana\/items\/d382d08a83a2a67f3b6a\">..\/<\/a><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>..\/ \u6211\u5728CentOS Stream 8\u4e0a\u5b89\u88c5\u4e86PHP7.4\uff0c\u5e76\u5728Nginx\u4e0a\u8fd0\u884c\u3002\u7136\u540e\u6211\u4e5f\u5b89\u88c5\u4e86WordP [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-33052","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\u5c06WordPress\u7b49\u5e94\u7528\u7a0b\u5e8f\u914d\u7f6e\u4e3a\u652f\u6301SSL - 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\u5c06wordpress\u7b49\u5e94\u7528\u7a0b\u5e8f\u914d\u7f6e\u4e3a\u652f\u6301ssl\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4f7f\u7528Nginx\u5c06WordPress\u7b49\u5e94\u7528\u7a0b\u5e8f\u914d\u7f6e\u4e3a\u652f\u6301SSL\" \/>\n<meta property=\"og:description\" content=\"..\/ \u6211\u5728CentOS Stream 8\u4e0a\u5b89\u88c5\u4e86PHP7.4\uff0c\u5e76\u5728Nginx\u4e0a\u8fd0\u884c\u3002\u7136\u540e\u6211\u4e5f\u5b89\u88c5\u4e86WordP [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u4f7f\u7528nginx\u5c06wordpress\u7b49\u5e94\u7528\u7a0b\u5e8f\u914d\u7f6e\u4e3a\u652f\u6301ssl\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2022-11-26T17:47:18+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-03T19:37:31+00:00\" \/>\n<meta name=\"author\" content=\"\u6587, \u7fd4\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6587, \u7fd4\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \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%b0%86wordpress%e7%ad%89%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e9%85%8d%e7%bd%ae%e4%b8%ba%e6%94%af%e6%8c%81ssl%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8nginx%e5%b0%86wordpress%e7%ad%89%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e9%85%8d%e7%bd%ae%e4%b8%ba%e6%94%af%e6%8c%81ssl%e3%80%82\/\",\"name\":\"\u4f7f\u7528Nginx\u5c06WordPress\u7b49\u5e94\u7528\u7a0b\u5e8f\u914d\u7f6e\u4e3a\u652f\u6301SSL - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2022-11-26T17:47:18+00:00\",\"dateModified\":\"2024-05-03T19:37:31+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/64d5cc7727fffbff2f9a2a8da1de3e5c\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8nginx%e5%b0%86wordpress%e7%ad%89%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e9%85%8d%e7%bd%ae%e4%b8%ba%e6%94%af%e6%8c%81ssl%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8nginx%e5%b0%86wordpress%e7%ad%89%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e9%85%8d%e7%bd%ae%e4%b8%ba%e6%94%af%e6%8c%81ssl%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8nginx%e5%b0%86wordpress%e7%ad%89%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e9%85%8d%e7%bd%ae%e4%b8%ba%e6%94%af%e6%8c%81ssl%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\u5c06WordPress\u7b49\u5e94\u7528\u7a0b\u5e8f\u914d\u7f6e\u4e3a\u652f\u6301SSL\"}]},{\"@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\/64d5cc7727fffbff2f9a2a8da1de3e5c\",\"name\":\"\u6587, \u7fd4\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/920c3d673e0bccacc98e5e6b7149bb3c22edd8d39cb753e5d7d7e471498118a1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/920c3d673e0bccacc98e5e6b7149bb3c22edd8d39cb753e5d7d7e471498118a1?s=96&d=mm&r=g\",\"caption\":\"\u6587, \u7fd4\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/wenxiang\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8nginx%e5%b0%86wordpress%e7%ad%89%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e9%85%8d%e7%bd%ae%e4%b8%ba%e6%94%af%e6%8c%81ssl%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\u5c06WordPress\u7b49\u5e94\u7528\u7a0b\u5e8f\u914d\u7f6e\u4e3a\u652f\u6301SSL - 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\u5c06wordpress\u7b49\u5e94\u7528\u7a0b\u5e8f\u914d\u7f6e\u4e3a\u652f\u6301ssl\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"\u4f7f\u7528Nginx\u5c06WordPress\u7b49\u5e94\u7528\u7a0b\u5e8f\u914d\u7f6e\u4e3a\u652f\u6301SSL","og_description":"..\/ \u6211\u5728CentOS Stream 8\u4e0a\u5b89\u88c5\u4e86PHP7.4\uff0c\u5e76\u5728Nginx\u4e0a\u8fd0\u884c\u3002\u7136\u540e\u6211\u4e5f\u5b89\u88c5\u4e86WordP [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u4f7f\u7528nginx\u5c06wordpress\u7b49\u5e94\u7528\u7a0b\u5e8f\u914d\u7f6e\u4e3a\u652f\u6301ssl\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2022-11-26T17:47:18+00:00","article_modified_time":"2024-05-03T19:37:31+00:00","author":"\u6587, \u7fd4","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u6587, \u7fd4","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8nginx%e5%b0%86wordpress%e7%ad%89%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e9%85%8d%e7%bd%ae%e4%b8%ba%e6%94%af%e6%8c%81ssl%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8nginx%e5%b0%86wordpress%e7%ad%89%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e9%85%8d%e7%bd%ae%e4%b8%ba%e6%94%af%e6%8c%81ssl%e3%80%82\/","name":"\u4f7f\u7528Nginx\u5c06WordPress\u7b49\u5e94\u7528\u7a0b\u5e8f\u914d\u7f6e\u4e3a\u652f\u6301SSL - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2022-11-26T17:47:18+00:00","dateModified":"2024-05-03T19:37:31+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/64d5cc7727fffbff2f9a2a8da1de3e5c"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8nginx%e5%b0%86wordpress%e7%ad%89%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e9%85%8d%e7%bd%ae%e4%b8%ba%e6%94%af%e6%8c%81ssl%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8nginx%e5%b0%86wordpress%e7%ad%89%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e9%85%8d%e7%bd%ae%e4%b8%ba%e6%94%af%e6%8c%81ssl%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8nginx%e5%b0%86wordpress%e7%ad%89%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e9%85%8d%e7%bd%ae%e4%b8%ba%e6%94%af%e6%8c%81ssl%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\u5c06WordPress\u7b49\u5e94\u7528\u7a0b\u5e8f\u914d\u7f6e\u4e3a\u652f\u6301SSL"}]},{"@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\/64d5cc7727fffbff2f9a2a8da1de3e5c","name":"\u6587, \u7fd4","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/920c3d673e0bccacc98e5e6b7149bb3c22edd8d39cb753e5d7d7e471498118a1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/920c3d673e0bccacc98e5e6b7149bb3c22edd8d39cb753e5d7d7e471498118a1?s=96&d=mm&r=g","caption":"\u6587, \u7fd4"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/wenxiang\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8nginx%e5%b0%86wordpress%e7%ad%89%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e9%85%8d%e7%bd%ae%e4%b8%ba%e6%94%af%e6%8c%81ssl%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\/33052","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\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=33052"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/33052\/revisions"}],"predecessor-version":[{"id":95883,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/33052\/revisions\/95883"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=33052"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=33052"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=33052"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}