Merge "Change nginx configuration"
authorMorgan Richomme <morgan.richomme@orange.com>
Mon, 11 Sep 2017 08:29:57 +0000 (08:29 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Mon, 11 Sep 2017 08:29:57 +0000 (08:29 +0000)
utils/test/reporting/docker/nginx.conf
utils/test/reporting/pages/config.sh

index ced8179..95baf0e 100644 (file)
@@ -11,11 +11,11 @@ server {
     server_name localhost;
 
     location / {
-        proxy_pass http://backends;
+        alias /home/opnfv/releng/utils/test/reporting/pages/dist/;
     }
 
-    location /reporting/ {
-        alias /home/opnfv/releng/utils/test/reporting/pages/dist/;
+    location /api/ {
+        http_pass http://backends/;
     }
 
     location /display/ {
index f9bb89a..62aa16f 100755 (executable)
@@ -1,3 +1,3 @@
-: ${SERVER_URL:='testresults.opnfv.org/reporting2'}
+: ${SERVER_URL:='testresults.opnfv.org/testing/api'}
 
 echo "{\"url\": \"http://${SERVER_URL}\"}" > dist/config.json