certbot command update
parent
0fa92d7537
commit
6d302d85d1
|
@ -232,7 +232,7 @@
|
|||
<span class="hljs-section">sudo</span> <span class="hljs-attribute">-u</span> {{ data.user }} <span class="hljs-section">sh</span> <span class="hljs-attribute">-c</span> "<span class="hljs-section">mkdir</span> <span class="hljs-attribute">-p</span> /var/www/_letsencrypt"
|
||||
|
||||
<span class="hljs-comment"># HTTPS: certbot (obtain certificates)</span>
|
||||
<span class="hljs-section">certbot certonly</span> <span class="hljs-attribute">--webroot</span> <span class="hljs-attribute">--webroot-path</span> /var/www/_letsencrypt <span class="hljs-attribute">--email</span> {{ data.email }} <span class="hljs-attribute">--domain</span> {{ data.domain }} <span class="hljs-attribute">--domain</span> www.{{ data.domain }}<span ng-if="data.cdn"> <span class="hljs-attribute">--domain</span> cdn.{{ data.domain }}</span> <span class="hljs-attribute">--text</span> <span class="hljs-attribute">--non-interactive</span> <span class="hljs-attribute">--agree-tos</span> <span class="hljs-attribute">--force-renew</span></code></pre>
|
||||
<span class="hljs-section">certbot certonly</span> <span class="hljs-attribute">--webroot</span> <span class="hljs-attribute" tooltips tooltip-template="--domain">-d</span> {{ data.domain }} <span class="hljs-attribute" tooltips tooltip-template="--domain">-d</span> www.{{ data.domain }}<span ng-if="data.cdn"> <span class="hljs-attribute" tooltips tooltip-template="--domain">-d</span> cdn.{{ data.domain }}</span> <span class="hljs-attribute">--email</span> {{ data.email }} <span class="hljs-attribute" tooltips tooltip-template="--webroot-path">-w</span> /var/www/_letsencrypt <span class="hljs-attribute" tooltips tooltip-template="--non-interactive">-n</span> <span class="hljs-attribute">--agree-tos</span> <span class="hljs-attribute">--force-renewal</span></code></pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="file" ng-class="data.file_structure === 'separated' || data.https || (data.php !== 'off' && data.wordpress) ? 'col-xl-6' : 'col-xl-12'">
|
||||
|
|
Loading…
Reference in New Issue