aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/gnocchi/templates/wsgi-gnocchi.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/gnocchi/templates/wsgi-gnocchi.conf.j2')
-rw-r--r--ansible/roles/gnocchi/templates/wsgi-gnocchi.conf.j217
1 files changed, 0 insertions, 17 deletions
diff --git a/ansible/roles/gnocchi/templates/wsgi-gnocchi.conf.j2 b/ansible/roles/gnocchi/templates/wsgi-gnocchi.conf.j2
deleted file mode 100644
index 3257eb237..000000000
--- a/ansible/roles/gnocchi/templates/wsgi-gnocchi.conf.j2
+++ /dev/null
@@ -1,17 +0,0 @@
-{% set python_path = '/usr/lib/python2.7/site-packages' if kolla_install_type == 'binary' else '/var/lib/kolla/venv/lib/python2.7/site-packages' %}
-Listen {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}:{{ gnocchi_api_port }}
-
-<VirtualHost *:{{ gnocchi_api_port }}>
-
- ErrorLog "/var/log/kolla/gnocchi/gnocchi-api-error.log"
- CustomLog "/var/log/kolla/gnocchi/gnocchi-api-access.log" combined
- WSGIApplicationGroup %{GLOBAL}
- WSGIDaemonProcess gnocchi group=gnocchi processes={{ openstack_service_workers }} threads=1 user=gnocchi python-path={{ python_path }}
- WSGIProcessGroup gnocchi
- WSGIScriptAlias / "{{ python_path }}/gnocchi/rest/app.wsgi"
-
- <Directory "{{ python_path }}/gnocchi/rest">
- Require all granted
- </Directory>
-
-</VirtualHost>