aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-03-03 00:29:52 +0100
committerRigel Kent <sendmemail@rigelk.eu>2020-11-11 16:45:46 +0100
commit1a9b141d835cf3bfe9bdca67f881b520975f9058 (patch)
tree444b35656c7093250181121ccfadb870c5046be4 /support/doc
parent8e98e6124d2b006ba9f616b0dfce7369fa7b2684 (diff)
downloadPeerTube-1a9b141d835cf3bfe9bdca67f881b520975f9058.tar.gz
PeerTube-1a9b141d835cf3bfe9bdca67f881b520975f9058.tar.zst
PeerTube-1a9b141d835cf3bfe9bdca67f881b520975f9058.zip
Add nginx behind traefik in docker-compose + image updates
- support/docker/production/docker-compose.yml: addition of a nginx image reusing support/nginx/peertube nginx conf to improve performance, and lessen setup differences between the docker-compose install and the typical production install. - support/docker/production/docker-compose.yml: postgres 10 -> postgres 12, redis 4 -> redis 5. Postgres major updates implies manual upgrade. - support/nginx/peertube: HTTP -> HTTPS redirection is now commented by default, to allow its reuse in support/docker/production/docker-compose.yml.
Diffstat (limited to 'support/doc')
-rw-r--r--support/doc/production.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/support/doc/production.md b/support/doc/production.md
index b8877ca8b..0ee275e9e 100644
--- a/support/doc/production.md
+++ b/support/doc/production.md
@@ -100,7 +100,8 @@ Then set the domain for the webserver configuration file.
100Replace `[peertube-domain]` with the domain for the peertube server. 100Replace `[peertube-domain]` with the domain for the peertube server.
101 101
102``` 102```
103$ sudo sed -i 's/peertube.example.com/[peertube-domain]/g' /etc/nginx/sites-available/peertube 103$ sudo sed -i 's/${WEBSERVER_HOST}/[peertube-domain]/g' /etc/nginx/sites-available/peertube
104$ sudo sed -i 's/${PEERTUBE_HOST}/localhost:9000/g' /etc/nginx/sites-available/peertube
104``` 105```
105 106
106Then modify the webserver configuration file. Please pay attention to the `alias` keys of the static locations. 107Then modify the webserver configuration file. Please pay attention to the `alias` keys of the static locations.