Skip to content
Snippets Groups Projects
Commit 7a3864e8 authored by ManMade-cube42's avatar ManMade-cube42 Committed by Chocobozzz
Browse files

Replace `peertube.example.com` with user's Peertube domain. (#2356)

* Add Sed

* Update production.md

* Minor Fix (+ add sudo)

* Update production.md
parent 9d45db29
No related branches found
No related tags found
No related merge requests found
......@@ -96,6 +96,13 @@ Copy the nginx configuration template:
$ sudo cp /var/www/peertube/peertube-latest/support/nginx/peertube /etc/nginx/sites-available/peertube
```
Then set the domain for the webserver configuration file.
Replace `[peertube-domain]` with the domain for the peertube server.
```
$ sudo sed -i 's/peertube.example.com/[peertube-domain]/g' /etc/nginx/sites-available/peertube
```
Then modify the webserver configuration file. Please pay attention to the `alias` keys of the static locations.
It should correspond to the paths of your storage directories (set in the configuration file inside the `storage` key).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment