summaryrefslogtreecommitdiffstats
path: root/utils/test/reporting/docker/nginx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'utils/test/reporting/docker/nginx.conf')
-rw-r--r--utils/test/reporting/docker/nginx.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/utils/test/reporting/docker/nginx.conf b/utils/test/reporting/docker/nginx.conf
new file mode 100644
index 000000000..9e2697248
--- /dev/null
+++ b/utils/test/reporting/docker/nginx.conf
@@ -0,0 +1,24 @@
+upstream backends {
+ server localhost:8001;
+ server localhost:8002;
+ server localhost:8003;
+ server localhost:8004;
+}
+
+
+server {
+ listen 8000;
+ server_name localhost;
+
+ location / {
+ proxy_pass http://backends;
+ }
+
+ location /reporting/ {
+ alias /home/opnfv/utils/test/reporting/pages/dist/;
+ }
+
+ location /display/ {
+ alias /home/opnfv/utils/test/reporting/display/;
+ }
+}