ActivityPub-federated video streaming platform using P2P directly in your web browser
Improve production guide
Chocobozzz6250e4ab1d3e
diff --git a/support/doc/production.md b/support/doc/production.mdindex a4854b9b66..8a2338e8b3 100644--- a/support/doc/production.md+++ b/support/doc/production.md@@ -137,16 +137,16 @@ 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.+Set the domain for the webserver configuration file by replacing `[peertube-domain]` with the domain for the peertube server:```bashsudo sed -i 's/${WEBSERVER_HOST}/[peertube-domain]/g' /etc/nginx/sites-available/peertubesudo sed -i 's/${PEERTUBE_HOST}/127.0.0.1:9000/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).+Then modify the webserver configuration file. Please pay attention to:+ * the `alias`, `root` and `rewrite` directives paths, the paths must correspond to your PeerTube filesystem location+ * the `proxy_limit_rate` and `limit_rate` directives if you plan to stream high bitrate videos (like 4K at 60FPS)```bashsudo vim /etc/nginx/sites-available/peertube