Bugfix: Change http_pass to proxy_pass 89/42489/1
authorchenjiankun <chenjiankun1@huawei.com>
Wed, 20 Sep 2017 08:41:08 +0000 (08:41 +0000)
committerchenjiankun <chenjiankun1@huawei.com>
Wed, 20 Sep 2017 08:41:08 +0000 (08:41 +0000)
http_pass is wrong for nginx, we need to change it to proxy_pass

Change-Id: Ib679b36a4a139c02647564719e1cfc49a9f376a2
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
utils/test/reporting/docker/nginx.conf

index 95baf0e..66bd7e4 100644 (file)
@@ -15,7 +15,7 @@ server {
     }
 
     location /api/ {
-        http_pass http://backends/;
+        proxy_pass http://backends/;
     }
 
     location /display/ {