Change nginx configuration 05/41505/1
authorchenjiankun <chenjiankun1@huawei.com>
Mon, 11 Sep 2017 06:24:45 +0000 (06:24 +0000)
committerchenjiankun <chenjiankun1@huawei.com>
Mon, 11 Sep 2017 06:24:45 +0000 (06:24 +0000)
commitf53cb19a64711f600a562242222b6e52a974d956
treef4aa43feb5c08ce17d2e72665b62008bb661e661
parent641e4920bec46a77d8e3d3bfcd1dd4f9f9ac512f
Change nginx configuration

Since landing page have changed from reporting2 to testing,
the nginx configuration need some adoption.

If the pre url change again, we need to config the base_url when start
our docker container. For example:
    docker run -itd -p 8084:8000 -e SERVER_URL testresults.opnfv.org/xxx/api opnfv/reporting:latest

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