diff options
author | 2020-06-19 11:38:33 +0200 | |
---|---|---|
committer | 2020-06-19 11:39:16 +0200 | |
commit | 8e80d435d580d696d60ac36cf6475da35905f961 (patch) | |
tree | 30bc6c8f5480fb7bad1687d49bc5a4419973aecb /installation/sdnc-web/src/main/scripts | |
parent | 279a547642166a05a8f1ca246a785ba978096558 (diff) |
Use system DNS resolver
Use system DNS resolver instead of the nginx DNS resolver
Issue-ID: SDNC-1247
Signed-off-by: Ravi Pendurty <ravi.pendurty@highstreet-technologies.com>
Change-Id: Iff3b82fc540a7271ee3e87ddd21f939ca6fdad17
Former-commit-id: 777395dad47d25403317639684f3591f844dc57b
Diffstat (limited to 'installation/sdnc-web/src/main/scripts')
-rw-r--r-- | installation/sdnc-web/src/main/scripts/configure.sh | 2 | ||||
-rw-r--r-- | installation/sdnc-web/src/main/scripts/run.sh | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/installation/sdnc-web/src/main/scripts/configure.sh b/installation/sdnc-web/src/main/scripts/configure.sh index b8385fd5..ca2ea764 100644 --- a/installation/sdnc-web/src/main/scripts/configure.sh +++ b/installation/sdnc-web/src/main/scripts/configure.sh @@ -44,7 +44,6 @@ update_nginx_site_conf() { sed -i 's|SDNRPROTOCOL|'$SDNRPROTOCOL'|g' /opt/bitnami/nginx/conf/server_blocks/https_site.conf sed -i 's|SDNRHOST|'$SDNRHOST'|g' /opt/bitnami/nginx/conf/server_blocks/https_site.conf sed -i 's|SDNRPORT|'$SDNRPORT'|g' /opt/bitnami/nginx/conf/server_blocks/https_site.conf - sed -i 's|LOCALDNS|'$LOCALDNS'|g' /opt/bitnami/nginx/conf/server_blocks/https_site.conf #cp /opt/bitnami/nginx/sbin/https_site.conf /opt/bitnami/nginx/conf/server_blocks rm /opt/bitnami/nginx/conf/server_blocks/http_site.conf @@ -54,7 +53,6 @@ update_nginx_site_conf() { sed -i 's|SDNRPROTOCOL|'$SDNRPROTOCOL'|g' /opt/bitnami/nginx/conf/server_blocks/http_site.conf sed -i 's|SDNRHOST|'$SDNRHOST'|g' /opt/bitnami/nginx/conf/server_blocks/http_site.conf sed -i 's|SDNRPORT|'$SDNRPORT'|g' /opt/bitnami/nginx/conf/server_blocks/http_site.conf - sed -i 's|LOCALDNS|'$LOCALDNS'|g' /opt/bitnami/nginx/conf/server_blocks/http_site.conf #cp /opt/bitnami/nginx/sbin/http_site.conf /opt/bitnami/nginx/conf/server_blocks rm /opt/bitnami/nginx/conf/server_blocks/https_site.conf fi diff --git a/installation/sdnc-web/src/main/scripts/run.sh b/installation/sdnc-web/src/main/scripts/run.sh index 544dd473..604ebdee 100644 --- a/installation/sdnc-web/src/main/scripts/run.sh +++ b/installation/sdnc-web/src/main/scripts/run.sh @@ -30,7 +30,6 @@ echo " WEBPORT: $WEBPORT" echo " SDNRPROTOCOL: $SDNRPROTOCOL" echo " SDNRHOST: $SDNRHOST" echo " SDNRPORT: $SDNRPORT" -echo " LOCALDNS: $LOCALDNS" echo " SSL_CERT_DIR: $SSL_CERT_DIR" echo -n " SSL_CERTIFICATE: $SSL_CERTIFICATE" if [ -f "$SSL_CERTIFICATE" ]; then @@ -66,4 +65,4 @@ if [ ! -z "$DEBUG" ]; then fi # Call the base images' run.sh to start NGINX -bash /run.sh
\ No newline at end of file +bash /run.sh |