change from sites-enabled to sites-available

pull/31/head
Michael Leer 2018-11-20 10:34:34 +00:00
parent d339981138
commit 0d4b2b3f2f
No known key found for this signature in database
GPG Key ID: 08EF681231908B32
2 changed files with 5 additions and 2 deletions

View File

@ -773,12 +773,12 @@
</div><div id="file-nginx" class="code highlighted"></div>
</section>
<section class="col-xl-6 grid-item file" ng-if="isModularized()" ng-cloak>
<strong>/etc/nginx/sites-enabled/{{ domain() }}.conf</strong>
<strong>/etc/nginx/sites-available/{{ domain() }}.conf</strong>
<button class="btn btn-light btn-clipboard" ngclipboard data-clipboard-target="#file-domain" ngclipboard-success="clipboardSuccess('example.com')">
<img src="assets/img/clipboard-dark.svg" alt="Copy to clipboard">
</button>
<span class="clipboard-success" ng-if="clipboardCopy === 'example.com'">Copied!</span>
<div class="code source" data-filename="sites-enabled/{{ domain() }}.conf">
<div class="code source" data-filename="sites-available/{{ domain() }}.conf">
<pre><code class="nginx" ng-include="'templates/conf/sites-available/example.com.conf.html?v=COMMIT_HASH?v=COMMIT_HASH'" onload="refreshHighlighting()"></code></pre>
</div><div id="file-domain" class="code highlighted"></div>
</section>

View File

@ -1,3 +1,6 @@
<span class="hljs-comment"># <strong>Enable</strong> virtual host</span>
<span class="hljs-section">ln</span> <span class="hljs-attribute">-s</span> /etc/nginx/sites-available/{{ domain() }}.conf /etc/nginx/sites-enabled/{{ domain() }}.conf
<!--
✔ HTTPS --><span ng-if="isHTTPS() && !isSSLProfileModern()"><!--