From 4c984ce4f2cc4ef71b21134735b57d80ab09c6b1 Mon Sep 17 00:00:00 2001 From: Michael Dürre Date: Mon, 31 Aug 2020 06:36:53 +0200 Subject: update sdnc-web image MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit cleanup installation and add more proxy fn Issue-ID: SDNC-1337 Signed-off-by: Michael Dürre Change-Id: Id5fcee41dd43d4935b08b821521c6036c321b2e7 Signed-off-by: Michael Dürre Former-commit-id: c553802849a383176eca863fc35694426f9d31cb --- .../sdnc-web/src/main/scripts/configure.sh | 74 ++++++++++++++-------- installation/sdnc-web/src/main/scripts/run.sh | 15 +++-- 2 files changed, 58 insertions(+), 31 deletions(-) (limited to 'installation/sdnc-web/src/main/scripts') diff --git a/installation/sdnc-web/src/main/scripts/configure.sh b/installation/sdnc-web/src/main/scripts/configure.sh index ca2ea764..2a007672 100644 --- a/installation/sdnc-web/src/main/scripts/configure.sh +++ b/installation/sdnc-web/src/main/scripts/configure.sh @@ -26,37 +26,61 @@ sed -i 's/listen/\#listen/g' /opt/bitnami/nginx/conf/nginx.conf update_index_html() { - # Backup the index.html file - cp /opt/bitnami/nginx/html/odlux/index.html /opt/bitnami/nginx/html/odlux/index.html.backup - sed -z 's/