{"id":36957,"date":"2022-11-21T00:50:30","date_gmt":"2023-12-04T20:52:18","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ae%89%e8%a3%85apache-web%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%b9%b6%e6%8f%90%e4%be%9bhttps%e6%94%af%e6%8c%81%e3%80%82\/"},"modified":"2024-04-29T01:43:38","modified_gmt":"2024-04-28T17:43:38","slug":"%e5%ae%89%e8%a3%85apache-web%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%b9%b6%e6%8f%90%e4%be%9bhttps%e6%94%af%e6%8c%81%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ae%89%e8%a3%85apache-web%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%b9%b6%e6%8f%90%e4%be%9bhttps%e6%94%af%e6%8c%81%e3%80%82\/","title":{"rendered":"\u5b89\u88c5Apache Web\u670d\u52a1\u5668\u5e76\u63d0\u4f9bHTTPS\u652f\u6301"},"content":{"rendered":"<p>\u6211\u662f\u8239\u4e95\u7dcf\u7814\u30c7\u30b8\u30bf\u30eb\u7684\u3088\u3082\u304e\u3002<\/p>\n<p>\u6211\u60f3\u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d\u4ecb\u7ecd\u5982\u4f55\u5728Azure\u4e0a\u90e8\u7f72Ubuntu\u865a\u62df\u673a\uff08\u7528\u4e8eWeb\u670d\u52a1\u5668\uff09\uff0c\u5e76\u5b89\u88c5Apache\u5e76\u4f7f\u7528Let&#8217;s Encrypt\u4f7f\u5176\u652f\u6301HTTPS\u3002<\/p>\n<p>\u8bf7\u6ce8\u610f\uff0c\u8981\u4f7fLet&#8217;s Encrypt\u652f\u6301HTTPS\uff0c\u60a8\u9700\u8981\u4e00\u4e2a\u57df\u540d\uff0c\u5e76\u4e14\u8be5\u57df\u540d\u5fc5\u987b\u89e3\u6790\u5230\u865a\u62df\u673a\u7684\u5168\u5c40IP\u5730\u5740\u4e0a\u3002<br \/>\n\u57df\u540d\u7684\u83b7\u53d6\u548c\u8bbe\u7f6e\u53ef\u5728\u4efb\u9009\u7684\u6ce8\u518c\u673a\u6784\u8fdb\u884c\u3002<\/p>\n<p>\u8bf7\u67e5\u770b\u6b64\u7559\u8a00\u4ee5\u4e86\u89e3\u5982\u4f55\u5b89\u88c5Nginx\u5e76\u5b9e\u73b0HTTPS\u652f\u6301\u3002<\/p>\n<p>\u8981\u5b89\u88c5\u7684\u8f6f\u4ef6\u5305\u662fapache2\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"nv\">$ <\/span>apt show apache2 2&gt;\/dev\/null\r\nPackage: apache2\r\nVersion: 2.4.52-1ubuntu4.2\r\nPriority: optional\r\nSection: web\r\nOrigin: Ubuntu\r\nMaintainer: Ubuntu Developers &lt;ubuntu-devel-discuss@lists.ubuntu.com&gt;\r\nOriginal-Maintainer: Debian Apache Maintainers &lt;debian-apache@lists.debian.org&gt;\r\nBugs: https:\/\/bugs.launchpad.net\/ubuntu\/+filebug\r\nInstalled-Size: 546 kB\r\nProvides: httpd, httpd-cgi\r\nPre-Depends: init-system-helpers <span class=\"o\">(&gt;=<\/span> 1.54~<span class=\"o\">)<\/span>\r\nDepends: apache2-bin <span class=\"o\">(=<\/span> 2.4.52-1ubuntu4.2<span class=\"o\">)<\/span>, apache2-data <span class=\"o\">(=<\/span> 2.4.52-1ubuntu4.2<span class=\"o\">)<\/span>, apache2-utils <span class=\"o\">(=<\/span> 2.4.52-1ubuntu4.2<span class=\"o\">)<\/span>, lsb-base, mime-support, perl:any, procps\r\nRecommends: ssl-cert\r\nSuggests: apache2-doc, apache2-suexec-pristine | apache2-suexec-custom, www-browser, ufw\r\nConflicts: apache2.2-bin, apache2.2-common\r\nReplaces: apache2.2-bin, apache2.2-common\r\nHomepage: https:\/\/httpd.apache.org\/\r\nTask: lamp-server\r\nDownload-Size: 97.9 kB\r\nAPT-Sources: http:\/\/azure.archive.ubuntu.com\/ubuntu jammy-updates\/main amd64 Packages\r\nDescription: Apache HTTP Server\r\n The Apache HTTP Server Project<span class=\"s1\">'s goal is to build a secure, efficient and\r\n extensible HTTP server as standards-compliant open source software. The\r\n result has long been the number one web server on the Internet.\r\n .\r\n Installing this package results in a full installation, including the\r\n configuration files, init scripts and support scripts.\r\n<\/span><\/code><\/pre>\n<p>\u6211\u4f1a\u7acb\u5373\u5b89\u88c5\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"nv\">$ <\/span><span class=\"nb\">sudo <\/span>apt <span class=\"nb\">install<\/span> <span class=\"nt\">-y<\/span> apache2\r\n<\/code><\/pre>\n<p>\u5f53\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u60a8\u4f1a\u53d1\u73b0Apache\u5df2\u7ecf\u5728\u8fd0\u884c\u4e86\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"nv\">$ <\/span><span class=\"nb\">sudo <\/span>ss <span class=\"nt\">-tlnp<\/span> | <span class=\"nb\">grep<\/span> :80\r\nLISTEN 0      511                <span class=\"k\">*<\/span>:80              <span class=\"k\">*<\/span>:<span class=\"k\">*<\/span>    <span class=\"nb\">users<\/span>:<span class=\"o\">((<\/span><span class=\"s2\">\"apache2\"<\/span>,pid<span class=\"o\">=<\/span>3063,fd<span class=\"o\">=<\/span>4<span class=\"o\">)<\/span>,<span class=\"o\">(<\/span><span class=\"s2\">\"apache2\"<\/span>,pid<span class=\"o\">=<\/span>3062,fd<span class=\"o\">=<\/span>4<span class=\"o\">)<\/span>,<span class=\"o\">(<\/span><span class=\"s2\">\"apache2\"<\/span>,pid<span class=\"o\">=<\/span>3060,fd<span class=\"o\">=<\/span>4<span class=\"o\">))<\/span>\r\n<span class=\"nv\">$ <\/span>ps aux | <span class=\"nb\">grep <\/span>apach[e]\r\nroot        3060  0.0  1.0   6768  4308 ?        Ss   07:37   0:00 \/usr\/sbin\/apache2 <span class=\"nt\">-k<\/span> start\r\nwww-data    3062  0.0  0.9 752984  4116 ?        Sl   07:37   0:00 \/usr\/sbin\/apache2 <span class=\"nt\">-k<\/span> start\r\nwww-data    3063  0.0  0.9 752984  4116 ?        Sl   07:37   0:00 \/usr\/sbin\/apache2 <span class=\"nt\">-k<\/span> start\r\nwww-data    3186  0.0  0.0   3736   160 ?        Ss   07:37   0:00 \/usr\/bin\/htcacheclean <span class=\"nt\">-d<\/span> 120 <span class=\"nt\">-p<\/span> \/var\/cache\/apache2\/mod_cache_disk <span class=\"nt\">-l<\/span> 300M <span class=\"nt\">-n<\/span>\r\n<span class=\"nv\">$ <\/span>curl http:\/\/127.0.0.1\/ 2&gt;\/dev\/null | <span class=\"nb\">grep <\/span>title\r\n    &lt;title&gt;Apache2 Ubuntu Default Page: It works&lt;\/title&gt;\r\n<\/code><\/pre>\n<p>\u5373\u4f7f\u4ece\u6211\u7684\u7535\u8111\u4e0a\u8bbf\u95ee\uff0c\u4e5f\u53ef\u4ee5\u770b\u5230\u8fd4\u56de\u4e86\u9ed8\u8ba4\u9875\u9762\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"nv\">$ <\/span>curl http:\/\/xx.xx.xx.xx\/ 2&gt;\/dev\/null | <span class=\"nb\">grep <\/span>title\r\n    &lt;title&gt;Apache2 Ubuntu Default Page: It works&lt;\/title&gt;\r\n<\/code><\/pre>\n<p>\u4e3a\u4e86\u83b7\u53d6Let&#8217;s encrypt\u8bc1\u4e66\uff0c\u6211\u4eec\u9700\u8981\u5b89\u88c5certbot\u6765\u6267\u884c\u6b64\u64cd\u4f5c\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"nv\">$ <\/span><span class=\"nb\">sudo <\/span>apt <span class=\"nb\">install<\/span> <span class=\"nt\">-y<\/span> certbot python3-certbot-apache\r\n<\/code><\/pre>\n<p>\u4f7f\u7528\u5df2\u5b89\u88c5\u7684Certbot\uff0c\u83b7\u53d6\u8bc1\u4e66\u3002\u5728\u6b64\u8fc7\u7a0b\u4e2d\uff0c\u60a8\u9700\u8981\u56de\u7b54\u4e00\u4e9b\u95ee\u9898\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"nv\">$ <\/span><span class=\"nb\">sudo <\/span>certbot <span class=\"nt\">--apache<\/span>\r\nSaving debug log to \/var\/log\/letsencrypt\/letsencrypt.log\r\nEnter email address <span class=\"o\">(<\/span>used <span class=\"k\">for <\/span>urgent renewal and security notices<span class=\"o\">)<\/span>\r\n <span class=\"o\">(<\/span>Enter <span class=\"s1\">'c'<\/span> to cancel<span class=\"o\">)<\/span>: &lt;username&gt;@example.com\r\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r\nPlease <span class=\"nb\">read <\/span>the Terms of Service at\r\nhttps:\/\/letsencrypt.org\/documents\/LE-SA-v1.3-September-21-2022.pdf. You must\r\nagree <span class=\"k\">in <\/span>order to register with the ACME server. Do you agree?\r\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r\n<span class=\"o\">(<\/span>Y<span class=\"o\">)<\/span>es\/<span class=\"o\">(<\/span>N<span class=\"o\">)<\/span>o: Y\r\n\r\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r\nWould you be willing, once your first certificate is successfully issued, to\r\nshare your email address with the Electronic Frontier Foundation, a founding\r\npartner of the Let<span class=\"s1\">'s Encrypt project and the non-profit organization that\r\ndevelops Certbot? We'<\/span>d like to send you email about our work encrypting the web,\r\nEFF news, campaigns, and ways to support digital freedom.\r\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r\n<span class=\"o\">(<\/span>Y<span class=\"o\">)<\/span>es\/<span class=\"o\">(<\/span>N<span class=\"o\">)<\/span>o: Y or N\r\n<span class=\"nt\">---snip---<\/span>\r\nPlease enter the domain name<span class=\"o\">(<\/span>s<span class=\"o\">)<\/span> you would like on your certificate <span class=\"o\">(<\/span>comma and\/or\r\nspace separated<span class=\"o\">)<\/span> <span class=\"o\">(<\/span>Enter <span class=\"s1\">'c'<\/span> to cancel<span class=\"o\">)<\/span>: example.com\r\n<\/code><\/pre>\n<p>\u5f88\u89aa\u5207\u7684\u662f\uff0cApache\u70ba\u6211\u5011\u5275\u5efa\u4e26\u555f\u7528\u4e86\u7db2\u7ad9\u7684\u8a2d\u5b9a\u6587\u4ef6\u3002<br \/>\n\u70ba\u4e86\u4f7f\u8a2d\u5b9a\u751f\u6548\uff0c\u6211\u5011\u9700\u8981\u91cd\u65b0\u555f\u52d5Apache\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"nv\">$ <\/span><span class=\"nb\">sudo <\/span>systemctl restart apache2\r\n<\/code><\/pre>\n<p>\u6211\u4eec\u9700\u8981\u786e\u8ba4Apache\u662f\u5426\u4e5f\u5728\u76d1\u542cTCP443\u7aef\u53e3\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"nv\">$ <\/span><span class=\"nb\">sudo <\/span>ss <span class=\"nt\">-tlnp<\/span> | <span class=\"nb\">grep <\/span>apache\r\nLISTEN 0      511                <span class=\"k\">*<\/span>:80              <span class=\"k\">*<\/span>:<span class=\"k\">*<\/span>    <span class=\"nb\">users<\/span>:<span class=\"o\">((<\/span><span class=\"s2\">\"apache2\"<\/span>,pid<span class=\"o\">=<\/span>4383,fd<span class=\"o\">=<\/span>4<span class=\"o\">)<\/span>,<span class=\"o\">(<\/span><span class=\"s2\">\"apache2\"<\/span>,pid<span class=\"o\">=<\/span>4382,fd<span class=\"o\">=<\/span>4<span class=\"o\">)<\/span>,<span class=\"o\">(<\/span><span class=\"s2\">\"apache2\"<\/span>,pid<span class=\"o\">=<\/span>4381,fd<span class=\"o\">=<\/span>4<span class=\"o\">))<\/span>\r\nLISTEN 0      511                <span class=\"k\">*<\/span>:443             <span class=\"k\">*<\/span>:<span class=\"k\">*<\/span>    <span class=\"nb\">users<\/span>:<span class=\"o\">((<\/span><span class=\"s2\">\"apache2\"<\/span>,pid<span class=\"o\">=<\/span>4383,fd<span class=\"o\">=<\/span>6<span class=\"o\">)<\/span>,<span class=\"o\">(<\/span><span class=\"s2\">\"apache2\"<\/span>,pid<span class=\"o\">=<\/span>4382,fd<span class=\"o\">=<\/span>6<span class=\"o\">)<\/span>,<span class=\"o\">(<\/span><span class=\"s2\">\"apache2\"<\/span>,pid<span class=\"o\">=<\/span>4381,fd<span class=\"o\">=<\/span>6<span class=\"o\">))<\/span>\r\n<span class=\"nv\">$ <\/span>curl https:\/\/example.com\/ 2&gt;\/dev\/null | <span class=\"nb\">grep <\/span>title\r\n    &lt;title&gt;Apache2 Ubuntu Default Page: It works&lt;\/title&gt;\r\n<\/code><\/pre>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d2bff37434c4406c4c2bc\/20-0.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2023-01-09 165952.png\" \/><\/div>\n<p>\u6211\u786e\u8ba4\u4e86\u60a8\u53ef\u4ee5\u987a\u5229\u8bbf\u95ee\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d2bff37434c4406c4c2bc\/22-0.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2023-01-09 170235.png\" \/><\/div>\n<p>\u7531\u4e8e\u8bc1\u4e66\u7684\u6709\u6548\u671f\u4e3a3\u4e2a\u6708\uff0c\u56e0\u6b64\u6211\u5e0c\u671b\u6bcf2\u4e2a\u6708\u66f4\u65b0\u4e00\u6b21\u8bc1\u4e66\u3002\u8bc1\u4e66\u7684\u66f4\u65b0\u4e5f\u53ef\u4ee5\u4f7f\u7528Certbot\u8fdb\u884c\u3002<\/p>\n<p>\u6211\u5011\u5c07\u4e0b\u5217\u8a2d\u5b9a\u52a0\u5165\u5230 cron \u4e2d\u3002\u7531\u65bc\u9019\u6b21\u6211\u5011\u57281\u6708\u4efd\u767c\u884c\u4e86\u8b49\u66f8\uff0c\u6240\u4ee5\u6211\u5011\u5c07\u5728\u5947\u6578\u6708\u76841\u65e5\u65e9\u4e0a7\u9ede\u6e96\u78ba\u57f7\u884c\u66f4\u65b0\u8655\u7406\u548c\u91cd\u65b0\u8f09\u5165 Apache \u7684\u64cd\u4f5c\u3002<\/p>\n<pre class=\"post-pre\"><code>0 7 1 1,3,5,7,9,11 * root \/usr\/bin\/certbot renew --webroot-path \/var\/www\/html\/ --post-hook \"\/usr\/bin\/systemctl reload apache2\" &gt; \/root\/certbot-renew.execlog 2&gt;&amp;1\r\n<\/code><\/pre>\n<p>\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0cApache\u7684DocumentRoot\u8bbe\u7f6e\u4e3a\/var\/www\/html\u3002\u60a8\u53ef\u4ee5\u5c06\u5185\u5bb9\u653e\u5728\u8fd9\u91cc\uff0c\u4e5f\u53ef\u4ee5\u8bbe\u7f6e\u4e0d\u540c\u7684DocumentRoot\u5e76\u5c06\u5185\u5bb9\u653e\u5728\u90a3\u91cc\u3002\u5982\u679c\u8981\u66f4\u6539DocumentRoot\uff0c\u8bf7\u540c\u65f6\u66f4\u6539\u4e0a\u8ff0cron\u547d\u4ee4\u3002<\/p>\n<p>\u672c\u6587\u4ecb\u7ecd\u4e86\u5982\u4f55\u5b89\u88c5Apache\u5e76\u4f7f\u7528Let&#8217;s Encrypt\u8fdb\u884cHTTPS\u652f\u6301\u3002<\/p>\n<p>\u8bf7\u63d0\u4f9b\u6709\u5173\u5728Azure\u4e0a\u90e8\u7f72Ubuntu\u865a\u62df\u673a\u7684\u6587\u7ae0\u4ee5\u53ca\u6709\u5173\u5728Ubuntu\u4e0a\u5b89\u88c5Nginx\u5e76\u652f\u6301HTTPS\u7684\u6587\u7ae0\u3002\u8c22\u8c22\u3002<\/p>\n<p>\u611f\u8c22\u60a8\u4e00\u76f4\u9605\u8bfb\u5230\u6700\u540e\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6211\u662f\u8239\u4e95\u7dcf\u7814\u30c7\u30b8\u30bf\u30eb\u7684\u3088\u3082\u304e\u3002 \u6211\u60f3\u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d\u4ecb\u7ecd\u5982\u4f55\u5728Azure\u4e0a\u90e8\u7f72Ubuntu\u865a\u62df\u673a\uff08\u7528\u4e8eWeb\u670d\u52a1\u5668 [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-36957","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>\u5b89\u88c5Apache Web\u670d\u52a1\u5668\u5e76\u63d0\u4f9bHTTPS\u652f\u6301 - 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\/\u5b89\u88c5apache-web\u670d\u52a1\u5668\u5e76\u63d0\u4f9bhttps\u652f\u6301\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5b89\u88c5Apache Web\u670d\u52a1\u5668\u5e76\u63d0\u4f9bHTTPS\u652f\u6301\" \/>\n<meta property=\"og:description\" content=\"\u6211\u662f\u8239\u4e95\u7dcf\u7814\u30c7\u30b8\u30bf\u30eb\u7684\u3088\u3082\u304e\u3002 \u6211\u60f3\u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d\u4ecb\u7ecd\u5982\u4f55\u5728Azure\u4e0a\u90e8\u7f72Ubuntu\u865a\u62df\u673a\uff08\u7528\u4e8eWeb\u670d\u52a1\u5668 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5b89\u88c5apache-web\u670d\u52a1\u5668\u5e76\u63d0\u4f9bhttps\u652f\u6301\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-12-04T20:52:18+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-28T17:43:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d2bff37434c4406c4c2bc\/20-0.png\" \/>\n<meta name=\"author\" content=\"\u5b87, \u534e\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u5b87, \u534e\" \/>\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\/%e5%ae%89%e8%a3%85apache-web%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%b9%b6%e6%8f%90%e4%be%9bhttps%e6%94%af%e6%8c%81%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ae%89%e8%a3%85apache-web%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%b9%b6%e6%8f%90%e4%be%9bhttps%e6%94%af%e6%8c%81%e3%80%82\/\",\"name\":\"\u5b89\u88c5Apache Web\u670d\u52a1\u5668\u5e76\u63d0\u4f9bHTTPS\u652f\u6301 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-12-04T20:52:18+00:00\",\"dateModified\":\"2024-04-28T17:43:38+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/513018e4e121d3add1b7c5de8be21458\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ae%89%e8%a3%85apache-web%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%b9%b6%e6%8f%90%e4%be%9bhttps%e6%94%af%e6%8c%81%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ae%89%e8%a3%85apache-web%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%b9%b6%e6%8f%90%e4%be%9bhttps%e6%94%af%e6%8c%81%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ae%89%e8%a3%85apache-web%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%b9%b6%e6%8f%90%e4%be%9bhttps%e6%94%af%e6%8c%81%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5b89\u88c5Apache Web\u670d\u52a1\u5668\u5e76\u63d0\u4f9bHTTPS\u652f\u6301\"}]},{\"@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\/513018e4e121d3add1b7c5de8be21458\",\"name\":\"\u5b87, \u534e\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/63cd45cbc05a35fc4ff7637a163c83c4962ef58d27472726c3a3e0c9c5194f0f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/63cd45cbc05a35fc4ff7637a163c83c4962ef58d27472726c3a3e0c9c5194f0f?s=96&d=mm&r=g\",\"caption\":\"\u5b87, \u534e\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/yuhua\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ae%89%e8%a3%85apache-web%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%b9%b6%e6%8f%90%e4%be%9bhttps%e6%94%af%e6%8c%81%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u5b89\u88c5Apache Web\u670d\u52a1\u5668\u5e76\u63d0\u4f9bHTTPS\u652f\u6301 - 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\/\u5b89\u88c5apache-web\u670d\u52a1\u5668\u5e76\u63d0\u4f9bhttps\u652f\u6301\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5b89\u88c5Apache Web\u670d\u52a1\u5668\u5e76\u63d0\u4f9bHTTPS\u652f\u6301","og_description":"\u6211\u662f\u8239\u4e95\u7dcf\u7814\u30c7\u30b8\u30bf\u30eb\u7684\u3088\u3082\u304e\u3002 \u6211\u60f3\u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d\u4ecb\u7ecd\u5982\u4f55\u5728Azure\u4e0a\u90e8\u7f72Ubuntu\u865a\u62df\u673a\uff08\u7528\u4e8eWeb\u670d\u52a1\u5668 [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u5b89\u88c5apache-web\u670d\u52a1\u5668\u5e76\u63d0\u4f9bhttps\u652f\u6301\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-12-04T20:52:18+00:00","article_modified_time":"2024-04-28T17:43:38+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d2bff37434c4406c4c2bc\/20-0.png"}],"author":"\u5b87, \u534e","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u5b87, \u534e","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ae%89%e8%a3%85apache-web%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%b9%b6%e6%8f%90%e4%be%9bhttps%e6%94%af%e6%8c%81%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ae%89%e8%a3%85apache-web%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%b9%b6%e6%8f%90%e4%be%9bhttps%e6%94%af%e6%8c%81%e3%80%82\/","name":"\u5b89\u88c5Apache Web\u670d\u52a1\u5668\u5e76\u63d0\u4f9bHTTPS\u652f\u6301 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-12-04T20:52:18+00:00","dateModified":"2024-04-28T17:43:38+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/513018e4e121d3add1b7c5de8be21458"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ae%89%e8%a3%85apache-web%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%b9%b6%e6%8f%90%e4%be%9bhttps%e6%94%af%e6%8c%81%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e5%ae%89%e8%a3%85apache-web%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%b9%b6%e6%8f%90%e4%be%9bhttps%e6%94%af%e6%8c%81%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ae%89%e8%a3%85apache-web%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%b9%b6%e6%8f%90%e4%be%9bhttps%e6%94%af%e6%8c%81%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u5b89\u88c5Apache Web\u670d\u52a1\u5668\u5e76\u63d0\u4f9bHTTPS\u652f\u6301"}]},{"@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\/513018e4e121d3add1b7c5de8be21458","name":"\u5b87, \u534e","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/63cd45cbc05a35fc4ff7637a163c83c4962ef58d27472726c3a3e0c9c5194f0f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/63cd45cbc05a35fc4ff7637a163c83c4962ef58d27472726c3a3e0c9c5194f0f?s=96&d=mm&r=g","caption":"\u5b87, \u534e"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/yuhua\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ae%89%e8%a3%85apache-web%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%b9%b6%e6%8f%90%e4%be%9bhttps%e6%94%af%e6%8c%81%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\/36957","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\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=36957"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/36957\/revisions"}],"predecessor-version":[{"id":72537,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/36957\/revisions\/72537"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=36957"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=36957"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=36957"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}