summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--content/peertube.md10
1 files changed, 7 insertions, 3 deletions
diff --git a/content/peertube.md b/content/peertube.md
index f666f9f..97569e7 100644
--- a/content/peertube.md
+++ b/content/peertube.md
@@ -142,6 +142,10 @@ Now the `production.yaml` file must be edited in the following ways:
First, generate a secret key by `openssl rand -hex 32`:
+```sh
+sed -i "s/peertube: ''/peertube: '$(openssl rand -hex 32)'/" /var/www/peertube/config/production.yaml
+```
+
```yaml
secrets:
# Generate one using `openssl rand -hex 32`
@@ -188,14 +192,14 @@ smtp:
transport: smtp
# Path to sendmail command. Required if you use sendmail transport
sendmail: null
- hostname: mail.example.org
+ hostname: mail.thesiah.xyz
port: 465 # If you use StartTLS: 587
- username: your_email_username
+ username: videos@thesiah.xyz
password: your_email_password
tls: true # If you use StartTLS: false
disable_starttls: false
ca_file: null # Used for self signed certificates
- from_address: "admin@example.org"
+ from_address: "videos@thesiah.xyz"
```
At this point, we have done all we need to do as the PeerTube user. Run