aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/docker/production/entrypoint.nginx.sh
diff options
context:
space:
mode:
Diffstat (limited to 'support/docker/production/entrypoint.nginx.sh')
-rw-r--r--support/docker/production/entrypoint.nginx.sh2
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
10envsubst '${WEBSERVER_HOST} ${PEERTUBE_HOST}' < $SOURCE_FILE > $TARGET_FILE 10envsubst '${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
13sed -i 's/443 ssl http2/80/g;/ssl_/d' $TARGET_FILE 13sed -i 's/443 ssl http2/80/g;/ssl_/d' $TARGET_FILE
14 14
15nginx -g "daemon off;" \ No newline at end of file 15nginx -g "daemon off;" \ No newline at end of file