From a1a27922de92f9acde07b2553440df0bbd88e65c Mon Sep 17 00:00:00 2001 From: chowmean Date: Sun, 26 Jul 2020 14:31:58 +0530 Subject: [PATCH] adding blocks for port 80 and 443 to fix bug for redirects --- nginx/config/entrypoint.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/nginx/config/entrypoint.sh b/nginx/config/entrypoint.sh index a1fea7a6..db91d42f 100644 --- a/nginx/config/entrypoint.sh +++ b/nginx/config/entrypoint.sh @@ -52,6 +52,9 @@ if [ "x${KIBANA_HOST}" = "x" ]; then fi echo "Configuring NGINX" + + +if [ "${NGINX_PORT}" = "443" ]; then cat > /etc/nginx/conf.d/default.conf < /etc/nginx/conf.d/default.conf <