diff options
author | 2020-10-19 15:13:32 +0200 | |
---|---|---|
committer | 2020-10-20 13:00:42 +0200 | |
commit | 3c0dfe4a46dc059306c668d0f5dba7125fd2d82f (patch) | |
tree | 722a43c46d23b1204a3c50cb596f616787892c9b /installation/sdnc-web/src/main/scripts/configure.sh | |
parent | 92767ce7668ad4566e1f202e28b466d5fbdc2f89 (diff) |
Fix error caused by empty env TOPOURL
container in crashloop back due to empty env TOPOURL
Issue-ID: SDNC-1385
Signed-off-by: Ravi Pendurty <ravi.pendurty@highstreet-technologies.com>
Change-Id: Id5d106caee7fcb78ee9fce390521dad056debca4
Signed-off-by: Ravi Pendurty <ravi.pendurty@highstreet-technologies.com>
Former-commit-id: aedaa63d22821c83042a4dd3f16b1c053d3ac031
Diffstat (limited to 'installation/sdnc-web/src/main/scripts/configure.sh')
-rw-r--r-- | installation/sdnc-web/src/main/scripts/configure.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/installation/sdnc-web/src/main/scripts/configure.sh b/installation/sdnc-web/src/main/scripts/configure.sh index 2a007672..cf53a0d9 100644 --- a/installation/sdnc-web/src/main/scripts/configure.sh +++ b/installation/sdnc-web/src/main/scripts/configure.sh @@ -59,6 +59,7 @@ update_nginx_site_conf() { sed -i 's|SDNRPROTOCOL|'$SDNRPROTOCOL'|g' $FN sed -i 's|SDNRHOST|'$SDNRHOST'|g' $FN sed -i 's|SDNRPORT|'$SDNRPORT'|g' $FN + sed -i 's|DNS_RESOLVER|'$DNS_RESOLVER'|g' $FN # handle optional parameters if [ -z "$TRPCEURL" ]; then @@ -70,7 +71,7 @@ update_nginx_site_conf() { fi if [ -z "$TOPOURL" ]; then echo "topology api forwarding disabled" - sed -i 's|proxy_pass TOPOURL/$1;|return 404;|g' $FN + sed -i 's|proxy_pass TOPOURL;|return 404;|g' $FN else sed -i 's|TOPOURL|'$TOPOURL'|g' $FN fi |