aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-horizon/wsgi-horizon.conf
blob: 9c2111c4bac9812b103f019950eb39184f4a0ea7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
WSGIScriptAlias /horizon %DATADIR%/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi process-group=horizon
WSGIDaemonProcess horizon user=%USER% group=%GROUP% processes=3 threads=10 display-name=%{GROUP}
WSGIProcessGroup horizon

Alias /static %LOCALSTATEDIR%/lib/openstack-dashboard/static/
Alias /horizon/static %LOCALSTATEDIR%/lib/openstack-dashboard/static/

<Directory %DATADIR%/openstack-dashboard/openstack_dashboard/wsgi>
  Require all granted
</Directory>

<Directory %LOCALSTATEDIR%/lib/openstack-dashboard/static>
  Require all granted
</Directory>