From 8e80d435d580d696d60ac36cf6475da35905f961 Mon Sep 17 00:00:00 2001 From: Ravi Pendurty Date: Fri, 19 Jun 2020 11:38:33 +0200 Subject: Use system DNS resolver Use system DNS resolver instead of the nginx DNS resolver Issue-ID: SDNC-1247 Signed-off-by: Ravi Pendurty Change-Id: Iff3b82fc540a7271ee3e87ddd21f939ca6fdad17 Former-commit-id: 777395dad47d25403317639684f3591f844dc57b --- installation/sdnc-web/src/main/resources/https_site.conf | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'installation/sdnc-web/src/main/resources/https_site.conf') diff --git a/installation/sdnc-web/src/main/resources/https_site.conf b/installation/sdnc-web/src/main/resources/https_site.conf index 49afa079..5dc4cfba 100644 --- a/installation/sdnc-web/src/main/resources/https_site.conf +++ b/installation/sdnc-web/src/main/resources/https_site.conf @@ -68,8 +68,6 @@ server { server_name _; - set $sdnrserver "SDNRHOST"; - location ~ ^/$ { return 301 /odlux/index.html; } @@ -80,15 +78,13 @@ server { try_files $uri $uri/ @backend; } location /websocket { - resolver LOCALDNS; - proxy_pass SDNRPROTOCOL://$sdnrserver:SDNRPORT/websocket; + proxy_pass SDNRPROTOCOL://SDNRHOST:SDNRPORT/websocket; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } location @backend { - resolver LOCALDNS; - proxy_pass SDNRPROTOCOL://$sdnrserver:SDNRPORT; + proxy_pass SDNRPROTOCOL://SDNRHOST:SDNRPORT; } } -- cgit 1.2.3-korg