aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/configure_nginx/templates/yardstick.conf.j2
diff options
context:
space:
mode:
authorRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>2018-04-27 08:55:37 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-04-27 08:55:37 +0000
commitd379bd07e1903a0abe3337675a274e8bc8136ecd (patch)
tree69fffd0e69f7f4294d266dbb38b2fbc81c893bfe /ansible/roles/configure_nginx/templates/yardstick.conf.j2
parentb338d3091bb0beb89d4ad9f7c144f43a31a19a74 (diff)
parent0b976dd02421a181674acc837127ac741ccfccea (diff)
Merge "Migrate install.sh script to ansible"
Diffstat (limited to 'ansible/roles/configure_nginx/templates/yardstick.conf.j2')
-rw-r--r--ansible/roles/configure_nginx/templates/yardstick.conf.j218
1 files changed, 18 insertions, 0 deletions
diff --git a/ansible/roles/configure_nginx/templates/yardstick.conf.j2 b/ansible/roles/configure_nginx/templates/yardstick.conf.j2
new file mode 100644
index 000000000..484096cec
--- /dev/null
+++ b/ansible/roles/configure_nginx/templates/yardstick.conf.j2
@@ -0,0 +1,18 @@
+server {
+ listen 5000;
+ server_name localhost;
+ index index.htm index.html;
+ location / {
+ include uwsgi_params;
+ client_max_body_size 2000m;
+ uwsgi_pass unix://{{ socket_file }};
+ }
+
+ location /gui/ {
+ alias /etc/nginx/yardstick/gui/;
+ }
+
+ location /report/ {
+ alias /tmp/;
+ }
+}