diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-11-11 12:55:13 +0100 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-11-11 16:45:46 +0100 |
commit | a30995fc27e697359d195e5c03127034d9c4e7ca (patch) | |
tree | eee5b6d4984dac07c6641d628fe54536130d9119 /support/docker/production/entrypoint.nginx.sh | |
parent | b8f3e6b00b3300f4ebf37bf77711739964c9e5d6 (diff) | |
download | PeerTube-a30995fc27e697359d195e5c03127034d9c4e7ca.tar.gz PeerTube-a30995fc27e697359d195e5c03127034d9c4e7ca.tar.zst PeerTube-a30995fc27e697359d195e5c03127034d9c4e7ca.zip |
consistent documentation and configuration in compose file
Diffstat (limited to 'support/docker/production/entrypoint.nginx.sh')
-rw-r--r-- | support/docker/production/entrypoint.nginx.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/docker/production/entrypoint.nginx.sh b/support/docker/production/entrypoint.nginx.sh index 4d2ead966..670ce84a3 100644 --- a/support/docker/production/entrypoint.nginx.sh +++ b/support/docker/production/entrypoint.nginx.sh | |||
@@ -9,7 +9,7 @@ export PEERTUBE_HOST="peertube:9000" | |||
9 | 9 | ||
10 | envsubst '${WEBSERVER_HOST} ${PEERTUBE_HOST}' < $SOURCE_FILE > $TARGET_FILE | 10 | envsubst '${WEBSERVER_HOST} ${PEERTUBE_HOST}' < $SOURCE_FILE > $TARGET_FILE |
11 | 11 | ||
12 | # Remove HTTPS/SSL from nginx conf | 12 | # Remove HTTPS/SSL from nginx conf since this image is meant as a webserver _behind_ a reverse-proxy doing TLS termination itself |
13 | sed -i 's/443 ssl http2/80/g;/ssl_/d' $TARGET_FILE | 13 | sed -i 's/443 ssl http2/80/g;/ssl_/d' $TARGET_FILE |
14 | 14 | ||
15 | nginx -g "daemon off;" \ No newline at end of file | 15 | nginx -g "daemon off;" \ No newline at end of file |