diff options
author | dengyh <dengyuanhong@chinamobile.com> | 2020-06-23 16:53:55 +0800 |
---|---|---|
committer | Yuanhong Deng <dengyuanhong@chinamobile.com> | 2020-06-28 04:25:08 +0000 |
commit | 51f734a5ddad883cf94b6d6e0e4e3d3348ca33a4 (patch) | |
tree | e2f0765aef40915deb2188e4c144645625fffe92 /res/docker | |
parent | 6d68252d8aa403cec8a087b77b27a9719d8c1350 (diff) |
Implementation of HTTPS support for VFC-vnfres project interface
Change-Id: I79aaf45cb613d8c1093275455dca41012039a51a
Issue-ID: VFC-1676
Signed-off-by: dengyh <dengyuanhong@chinamobile.com>
Diffstat (limited to 'res/docker')
-rwxr-xr-x | res/docker/instance_config.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/res/docker/instance_config.sh b/res/docker/instance_config.sh index c770a2b..3cac097 100755 --- a/res/docker/instance_config.sh +++ b/res/docker/instance_config.sh @@ -24,6 +24,10 @@ if [ $SERVICE_IP ]; then sed -i "s|\"ip\": \".*\"|\"ip\": \"$SERVICE_IP\"|" vfc/gvnfm/vnfres/res/res/pub/config/config.py fi +if [ $SSL_ENABLED ]; then + sed -i "s|SSL_ENABLED = .*|SSL_ENABLED = '$SSL_ENABLED'|" vfc/gvnfm/vnfres/res/res/pub/config/config.py +fi + # Configure MYSQL MYSQL_IP=`echo $MYSQL_ADDR | cut -d: -f 1` MYSQL_PORT=`echo $MYSQL_ADDR | cut -d: -f 2` |