shorter sed

pull/50/head
Szekeres Bálint 6 years ago
parent c8b2d0bf4c
commit ff52ae090d

@ -27,7 +27,7 @@
<span class="hljs-section">sed</span> <!--
--><span class="hljs-attribute">-i</span> <!--
--><span class="hljs-attribute">-r</span> <!--
-->'s/listen (.*)443/listen \1443;#/g; s/ssl_(certificate|certificate_key|trusted_certificate) /#;#ssl_\1 /g' <!--
-->'s/(listen .*443)/\1;#/g; s/(ssl_(certificate|certificate_key|trusted_certificate) )/#;#\1/g' <!--
-->/etc/nginx/sites-{{ isSymlink() ? 'available' : 'enabled' }}/{{ domain() }}.conf
<span class="hljs-comment"># <strong>HTTPS - certbot</strong>: obtain certificates</span>

Loading…
Cancel
Save