]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - support/docker/production/entrypoint.nginx.sh
Trigger a Gitpod dev image rebuild (in order to get upstream's Node.js 12 upgrade...
[github/Chocobozzz/PeerTube.git] / support / docker / production / entrypoint.nginx.sh
index 4d2ead9669086828f44222ada0e73490194188ef..670ce84a3fd98e9e4d4e64840e4f942a8261b23d 100644 (file)
@@ -9,7 +9,7 @@ export PEERTUBE_HOST="peertube:9000"
 
 envsubst '${WEBSERVER_HOST} ${PEERTUBE_HOST}' < $SOURCE_FILE > $TARGET_FILE
 
-# Remove HTTPS/SSL from nginx conf
+# Remove HTTPS/SSL from nginx conf since this image is meant as a webserver _behind_ a reverse-proxy doing TLS termination itself
 sed -i 's/443 ssl http2/80/g;/ssl_/d' $TARGET_FILE
 
 nginx -g "daemon off;"
\ No newline at end of file