summaryrefslogtreecommitdiffstats
path: root/docker/start-nginx.sh
diff options
context:
space:
mode:
authorDan Xu <xudan16@huawei.com>2019-03-22 07:44:31 +0000
committerGerrit Code Review <gerrit@opnfv.org>2019-03-22 07:44:31 +0000
commitaab171fe0b7b749a7414cc8d652b5f4662743106 (patch)
tree2108f5db2442bdbbd327ee80f2a17c9bf496d079 /docker/start-nginx.sh
parent3b78fa2aeb6c69efb86c68ba5f6c7d7efccfb024 (diff)
parentd0bbf3b8952379883550c6eb2062476a6d15043e (diff)
Merge changes I36bbb6e6,I2f597763
* changes: Enable Web Portal for ONAP results Prepare Web Portal for ONAP integration
Diffstat (limited to 'docker/start-nginx.sh')
-rwxr-xr-xdocker/start-nginx.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/start-nginx.sh b/docker/start-nginx.sh
index c9949be..5f33847 100755
--- a/docker/start-nginx.sh
+++ b/docker/start-nginx.sh
@@ -1,8 +1,8 @@
#!/bin/bash
-FILE=/etc/nginx/sites-enabled/default
+NGINX_CONF=/etc/nginx/sites-enabled/default
if [ "$testapi_url" != "" ]; then
- sed -i "s/server localhost:8010/server $testapi_url/" $FILE
+ sed -i "s/server lfnapi:8010/server $testapi_url/" $NGINX_CONF
fi
service supervisor start