Site updated: 2023-05-06 12:41:10
This commit is contained in:
parent
acf578d39c
commit
e5f5669164
File diff suppressed because one or more lines are too long
2
atom.xml
2
atom.xml
|
@ -426,7 +426,7 @@
|
||||||
<link href="http://kiki.kim/2022/03/20/%E9%80%9A%E8%BF%87certbot+nginx%E7%94%B3%E8%AF%B7%E6%B3%9B%E5%9F%9F%E5%90%8D%E8%AF%81%E4%B9%A6/"/>
|
<link href="http://kiki.kim/2022/03/20/%E9%80%9A%E8%BF%87certbot+nginx%E7%94%B3%E8%AF%B7%E6%B3%9B%E5%9F%9F%E5%90%8D%E8%AF%81%E4%B9%A6/"/>
|
||||||
<id>http://kiki.kim/2022/03/20/%E9%80%9A%E8%BF%87certbot+nginx%E7%94%B3%E8%AF%B7%E6%B3%9B%E5%9F%9F%E5%90%8D%E8%AF%81%E4%B9%A6/</id>
|
<id>http://kiki.kim/2022/03/20/%E9%80%9A%E8%BF%87certbot+nginx%E7%94%B3%E8%AF%B7%E6%B3%9B%E5%9F%9F%E5%90%8D%E8%AF%81%E4%B9%A6/</id>
|
||||||
<published>2022-03-20T11:56:34.000Z</published>
|
<published>2022-03-20T11:56:34.000Z</published>
|
||||||
<updated>2023-05-02T14:16:48.575Z</updated>
|
<updated>2023-05-06T04:38:45.827Z</updated>
|
||||||
|
|
||||||
|
|
||||||
<summary type="html"><p>之前博客一直都是都使用的http协议,主要是访问量一直都不大,最主要的还是懒得去折腾证书,最近趁着有点空闲搞一下。</p></summary>
|
<summary type="html"><p>之前博客一直都是都使用的http协议,主要是访问量一直都不大,最主要的还是懒得去折腾证书,最近趁着有点空闲搞一下。</p></summary>
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
/* build time:Sat May 06 2023 11:35:08 GMT+0800 (GMT+08:00)*/
|
/* build time:Sat May 06 2023 12:40:44 GMT+0800 (GMT+08:00)*/
|
||||||
.links-content{margin-top:1rem}.link-navigation::after{content:" ";display:block;clear:both}.card{width:130px;font-size:1rem;padding:0;border-radius:4px;transition-duration:.15s;margin-bottom:1rem;display:block;float:left;box-shadow:0 2px 6px 0 rgba(0,0,0,.12);background:#f5f5f5}.card{margin-left:16px}@media(max-width:567px){.card{margin-left:16px;width:calc((100% - 16px)/ 2)}.card:nth-child(2n+1){margin-left:0}.card:not(:nth-child(2n+1)){margin-left:16px}}@media(min-width:567px){.card{margin-left:16px;width:calc((100% - 32px)/ 3)}.card:nth-child(3n+1){margin-left:0}.card:not(:nth-child(3n+1)){margin-left:16px}}@media(min-width:768px){.card{margin-left:16px;width:calc((100% - 48px)/ 4)}.card:nth-child(4n+1){margin-left:0}.card:not(:nth-child(4n+1)){margin-left:16px}}@media(min-width:1200px){.card{margin-left:16px;width:calc((100% - 64px)/ 5)}.card:nth-child(5n+1){margin-left:0}.card:not(:nth-child(5n+1)){margin-left:16px}}.card:hover{transform:scale(1.1);box-shadow:0 2px 6px 0 rgba(0,0,0,.12),0 0 6px 0 rgba(0,0,0,.04)}.card .thumb{width:100%;height:0;padding-bottom:100%;background-size:100% 100%!important}.posts-expand .post-body img{margin:0;padding:0;border:0}.card .card-header{display:block;text-align:center;padding:1rem .25rem;font-weight:500;color:#333;white-space:normal}.card .card-header a{font-style:normal;color:#2bbc8a;font-weight:700;text-decoration:none;border:0}.card .card-header a:hover{color:#d480aa;text-decoration:none;border:0}
|
.links-content{margin-top:1rem}.link-navigation::after{content:" ";display:block;clear:both}.card{width:130px;font-size:1rem;padding:0;border-radius:4px;transition-duration:.15s;margin-bottom:1rem;display:block;float:left;box-shadow:0 2px 6px 0 rgba(0,0,0,.12);background:#f5f5f5}.card{margin-left:16px}@media(max-width:567px){.card{margin-left:16px;width:calc((100% - 16px)/ 2)}.card:nth-child(2n+1){margin-left:0}.card:not(:nth-child(2n+1)){margin-left:16px}}@media(min-width:567px){.card{margin-left:16px;width:calc((100% - 32px)/ 3)}.card:nth-child(3n+1){margin-left:0}.card:not(:nth-child(3n+1)){margin-left:16px}}@media(min-width:768px){.card{margin-left:16px;width:calc((100% - 48px)/ 4)}.card:nth-child(4n+1){margin-left:0}.card:not(:nth-child(4n+1)){margin-left:16px}}@media(min-width:1200px){.card{margin-left:16px;width:calc((100% - 64px)/ 5)}.card:nth-child(5n+1){margin-left:0}.card:not(:nth-child(5n+1)){margin-left:16px}}.card:hover{transform:scale(1.1);box-shadow:0 2px 6px 0 rgba(0,0,0,.12),0 0 6px 0 rgba(0,0,0,.04)}.card .thumb{width:100%;height:0;padding-bottom:100%;background-size:100% 100%!important}.posts-expand .post-body img{margin:0;padding:0;border:0}.card .card-header{display:block;text-align:center;padding:1rem .25rem;font-weight:500;color:#333;white-space:normal}.card .card-header a{font-style:normal;color:#2bbc8a;font-weight:700;text-decoration:none;border:0}.card .card-header a:hover{color:#d480aa;text-decoration:none;border:0}
|
||||||
/* rebuild by neat */
|
/* rebuild by neat */
|
File diff suppressed because one or more lines are too long
|
@ -1,3 +1,3 @@
|
||||||
/* build time:Sat May 06 2023 11:35:24 GMT+0800 (GMT+08:00)*/
|
/* build time:Sat May 06 2023 12:41:00 GMT+0800 (GMT+08:00)*/
|
||||||
body{margin-top:2rem}.use-motion .collection-header,.use-motion .comments,.use-motion .menu-item,.use-motion .pagination,.use-motion .post-block,.use-motion .post-body,.use-motion .post-header,.use-motion .sidebar,.use-motion .sidebar-inner{visibility:visible}.use-motion .column,.use-motion .footer,.use-motion .site-brand-container .toggle{opacity:initial}.use-motion .custom-logo-image,.use-motion .site-subtitle,.use-motion .site-title{opacity:initial;top:initial}.use-motion .logo-line{transform:scaleX(1)}.search-pop-overlay,.sidebar-nav{display:none}.sidebar-panel{display:block}.noscript-warning{background-color:#f55;color:#fff;font-family:sans-serif;font-size:1rem;font-weight:700;left:0;position:fixed;text-align:center;top:0;width:100%;z-index:50}
|
body{margin-top:2rem}.use-motion .collection-header,.use-motion .comments,.use-motion .menu-item,.use-motion .pagination,.use-motion .post-block,.use-motion .post-body,.use-motion .post-header,.use-motion .sidebar,.use-motion .sidebar-inner{visibility:visible}.use-motion .column,.use-motion .footer,.use-motion .site-brand-container .toggle{opacity:initial}.use-motion .custom-logo-image,.use-motion .site-subtitle,.use-motion .site-title{opacity:initial;top:initial}.use-motion .logo-line{transform:scaleX(1)}.search-pop-overlay,.sidebar-nav{display:none}.sidebar-panel{display:block}.noscript-warning{background-color:#f55;color:#fff;font-family:sans-serif;font-size:1rem;font-weight:700;left:0;position:fixed;text-align:center;top:0;width:100%;z-index:50}
|
||||||
/* rebuild by neat */
|
/* rebuild by neat */
|
File diff suppressed because one or more lines are too long
|
@ -1441,7 +1441,7 @@ A:</p>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<p>延期</p>
|
<p>延期</p>
|
||||||
<figure class="highlight shell"><table><tr><td class="code"><pre><span class="line"><span class="meta prompt_"> # </span><span class="language-bash">对机器上所有证书 renew</span></span><br><span class="line"> [root@c7-docker-1 certbot]# certbot renew --manual /</span><br><span class="line"> --preferred-challenges dns /</span><br><span class="line"> --manual-auth-hook "/脚本目录/au.sh php aly add" /</span><br><span class="line"> --manual-cleanup-hook "/脚本目录/au.sh php aly clean"</span><br><span class="line"> </span><br><span class="line"> 注:证书有效期<30天才会renew</span><br><span class="line"> </span><br><span class="line"> </span><br><span class="line"><span class="meta prompt_"># </span><span class="language-bash">添加crontab</span></span><br><span class="line"> [root@c7-docker-1 certbot]# crontab -e</span><br><span class="line"> </span><br><span class="line"> 1 1 */1 * * root certbot-auto renew --manual --preferred-challenges dns --manual-auth-hook "/脚本目录/au.sh php aly add" --manual-cleanup-hook "/脚本目录/au.sh php aly clean"</span><br></pre></td></tr></table></figure>
|
<figure class="highlight shell"><table><tr><td class="code"><pre><span class="line"><span class="meta prompt_"> # </span><span class="language-bash">对机器上所有证书 renew</span></span><br><span class="line"> [root@c7-docker-1 certbot]# certbot renew --manual \</span><br><span class="line"> --preferred-challenges dns \</span><br><span class="line"> --manual-auth-hook "/脚本目录/au.sh php aly add" \</span><br><span class="line"> --manual-cleanup-hook "/脚本目录/au.sh php aly clean"</span><br><span class="line"> </span><br><span class="line"> 注:证书有效期<30天才会renew</span><br><span class="line"> </span><br><span class="line"> </span><br><span class="line"><span class="meta prompt_"># </span><span class="language-bash">添加crontab</span></span><br><span class="line"> [root@c7-docker-1 certbot]# crontab -e</span><br><span class="line"> </span><br><span class="line"> 1 1 */1 * * root certbot renew --manual --preferred-challenges dns --manual-auth-hook "/脚本目录/au.sh php aly add" --manual-cleanup-hook "/脚本目录/au.sh php aly clean"</span><br></pre></td></tr></table></figure>
|
||||||
</li>
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
<h2 id="问题">问题</h2>
|
<h2 id="问题">问题</h2>
|
||||||
|
|
Loading…
Reference in New Issue