From 02bbda4afbe1edefac250dfdbf6a34f5d5d37b18 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Sat, 27 Sep 2025 17:04:22 +0900 Subject: modified content/peertube.md --- content/peertube.md | 10 +++++++--- 1 file 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 -- cgit v1.2.3