summaryrefslogtreecommitdiffstats
path: root/reporting
diff options
context:
space:
mode:
authorchenjiankun <chenjiankun1@huawei.com>2017-09-20 08:41:08 +0000
committerchenjiankun <chenjiankun1@huawei.com>2017-09-20 08:41:08 +0000
commit068c29760cabd51533b8382eb5955d75174c7672 (patch)
treec526b49f907b3a3d380f25224978c671170bfa21 /reporting
parent0563f7b6434223a10c927c3a507a122cbc3f16e8 (diff)
Bugfix: Change http_pass to proxy_pass
http_pass is wrong for nginx, we need to change it to proxy_pass Change-Id: Ib679b36a4a139c02647564719e1cfc49a9f376a2 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
Diffstat (limited to 'reporting')
-rw-r--r--reporting/docker/nginx.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/reporting/docker/nginx.conf b/reporting/docker/nginx.conf
index 95baf0e..66bd7e4 100644
--- a/reporting/docker/nginx.conf
+++ b/reporting/docker/nginx.conf
@@ -15,7 +15,7 @@ server {
}
location /api/ {
- http_pass http://backends/;
+ proxy_pass http://backends/;
}
location /display/ {