diff options
Diffstat (limited to 'wsgi-horizon.conf')
-rw-r--r-- | wsgi-horizon.conf | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/wsgi-horizon.conf b/wsgi-horizon.conf new file mode 100644 index 000000000000..a565ca92788b --- /dev/null +++ b/wsgi-horizon.conf @@ -0,0 +1,27 @@ +<IfModule wsgi_module> + <VirtualHost *:80> + DocumentRoot /usr/share/openstack-horizon + WSGIDaemonProcess dashboard processes=3 threads=1 user=horizon group=horizon display-name=%{GROUP} + WSGIProcessGroup dashboard + WSGIScriptAlias / /usr/share/openstack-horizon/openstack_dashboard/wsgi.py + WSGIPassAuthorization On + WSGIPassAuthorization On + Alias /static /usr/share/openstack-horizon/static + ErrorLogFormat "%M" + ErrorLog /var/log/horizon/error.log + CustomLog /var/log/horizon/access.log combined + <Directory /usr/share/openstack-horizon/openstack_dashboard> + Options All + AllowOverride All + Require all granted + </Directory> + <Directory /usr/share/openstack-horizon/static> + Options All + AllowOverride All + Require all granted + </Directory> + <Location "/static"> + SetHandler None + </Location> + </VirtualHost> +</IfModule>
\ No newline at end of file |