summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2017-09-11 08:29:57 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-09-11 08:29:57 +0000
commitb584f4d1b522b2dc62b664c5dca33e121a2efab2 (patch)
tree93681fd021077257e9a23741fd92f73c6ee01fc1 /utils
parentc4dbd3450cb914c2b1e6bf4ba66a220082cfec09 (diff)
parentf53cb19a64711f600a562242222b6e52a974d956 (diff)
Merge "Change nginx configuration"
Diffstat (limited to 'utils')
-rw-r--r--utils/test/reporting/docker/nginx.conf6
-rwxr-xr-xutils/test/reporting/pages/config.sh2
2 files changed, 4 insertions, 4 deletions
diff --git a/utils/test/reporting/docker/nginx.conf b/utils/test/reporting/docker/nginx.conf
index ced8179c1..95baf0e48 100644
--- a/utils/test/reporting/docker/nginx.conf
+++ b/utils/test/reporting/docker/nginx.conf
@@ -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/ {
diff --git a/utils/test/reporting/pages/config.sh b/utils/test/reporting/pages/config.sh
index f9bb89ac8..62aa16f1c 100755
--- a/utils/test/reporting/pages/config.sh
+++ b/utils/test/reporting/pages/config.sh
@@ -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