docs: Add links to DNS provider support; remove tabs from bash command

This commit is contained in:
Matthew Holt 2020-05-17 14:09:42 -06:00
parent 68e003409a
commit 75fcfc21bb
No known key found for this signature in database
GPG key ID: 2A349DD577D586A5
3 changed files with 11 additions and 13 deletions

View file

@ -26,16 +26,16 @@ Test that it worked:
<pre><code class="cmd bash">caddy version</code></pre>
Create a group named `caddy`:
<pre><code class="cmd bash">groupadd --system caddy</code></pre>
<pre><code class="cmd bash">sudo groupadd --system caddy</code></pre>
Create a user named `caddy`, with a writeable home folder:
<pre><code class="cmd bash">useradd --system \
--gid caddy \
--create-home \
--home-dir /var/lib/caddy \
--shell /usr/sbin/nologin \
--comment "Caddy web server" \
caddy</code></pre>
<pre><code class="cmd bash">sudo useradd --system \
--gid caddy \
--create-home \
--home-dir /var/lib/caddy \
--shell /usr/sbin/nologin \
--comment "Caddy web server" \
caddy</code></pre>
If using a config file, be sure it is readable by the `caddy` user you just created.