Dashboard and nginx fixes

Change-Id: I4ee34b24779f929f41852d4662018caead860ab6
diff --git a/nginx.conf b/nginx.conf
index 659bb61..4506b59 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -11,10 +11,12 @@
     }
 
     location /api {
+        resolver 127.0.0.1 valid=30s;
         proxy_pass http://xos-rest-gw:3000;
     }
 
     location /socket.io {
+        resolver 127.0.0.1 valid=30s;
         proxy_pass http://xos-rest-gw:3000;
     }
 }
\ No newline at end of file