summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorFarhan Khan <farhan@farhan.codes>2020-08-13 19:08:13 -0400
committerFarhan Khan <farhan@farhan.codes>2020-08-13 19:08:13 -0400
commitb5f48275c5a0802ac5e7da0caf3d3af0bfbb7c6c (patch)
tree6d7c60f623ac878dbf7189d80d69a87942162cc7 /docs
parent33ea430f3b026f4e9b353b74bcc60846c67a5a69 (diff)
Minor patch update
Diffstat (limited to 'docs')
-rw-r--r--docs/installation/freebsd_en.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/installation/freebsd_en.md b/docs/installation/freebsd_en.md
index b5c62bee6..12c870322 100644
--- a/docs/installation/freebsd_en.md
+++ b/docs/installation/freebsd_en.md
@@ -108,10 +108,10 @@ Edit the defaults of `/usr/local/etc/nginx/nginx.conf`:
We'll be using acme.sh in Stateless Mode for TLS certificate renewal.
-First, get your account fingerprint:
+First, as root, get your account fingerprint:
```
-$ sudo -Hu nginx -g nginx acme.sh --register-account
+# sudo -Hu acme -g acme acme.sh --register-account
```
You need to add the following to your nginx configuration for the server
@@ -136,7 +136,7 @@ It should now be possible to issue a cert (replace `example.com`
with your domain name):
```
-$ sudo -Hu nginx -g nginx acme.sh --issue -d example.com --stateless
+$ sudo -Hu acme -g acme acme.sh --issue -d example.com --stateless
$ acme.sh --install-cert -d example.com \
--key-file /path/to/keyfile/in/nginx/key.pem \
--fullchain-file /path/to/fullchain/nginx/cert.pem \
@@ -146,7 +146,7 @@ Let's add auto-renewal to `/etc/daily.local`
(replace `example.com` with your domain):
```
-/usr/pkg/bin/sudo -Hu www -g www \
+/usr/local/bin/sudo -Hu acme -g acme \
/usr/local/sbin/acme.sh -r \
-d example.com \
--cert-file /etc/nginx/tls/cert \