Travailler avec PeerTube

Updated 24 Juillet 2019

Switching to another domain

To migrate from to, edit the PeerTube settings accordingly:


  https: true
  hostname: ''

Convert the database of torrent files:

su - peertube

cd peertube-latest

NODE_CONFIG_DIR=/var/calculate/www/peertube/config NODE_ENV=production npm run update-host

Mettez à jour la configuration de nginx :


server {

ssl_certificate /etc/letsencrypt/live/;
ssl_certificate_key /etc/letsencrypt/live/;

Now fetch the necessary certificates for

Restart both Nginx and PeerTube:

/etc/init.d/nginx restart

/etc/init.d/peertube restart