diff options
author | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-02-12 17:26:00 +0000 |
---|---|---|
committer | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-02-12 17:26:00 +0000 |
commit | 88c8c3fc93c6b7c3b2f5e54dd19d5a84ae126626 (patch) | |
tree | 97076d768900b0f1f0361efd899ac75cf0937c6c /openstack/etc/horizon/apache-horizon.conf | |
parent | 1319309d3ff4eb85cb0e7e6cb178cb56ff116524 (diff) | |
download | definitions-88c8c3fc93c6b7c3b2f5e54dd19d5a84ae126626.tar.gz |
SPLITME: Add all Openstackbaserock/franred/only-openstack-packages
Diffstat (limited to 'openstack/etc/horizon/apache-horizon.conf')
-rw-r--r-- | openstack/etc/horizon/apache-horizon.conf | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/openstack/etc/horizon/apache-horizon.conf b/openstack/etc/horizon/apache-horizon.conf new file mode 100644 index 00000000..e51fbd17 --- /dev/null +++ b/openstack/etc/horizon/apache-horizon.conf @@ -0,0 +1,32 @@ +<VirtualHost *:80> + WSGIScriptAlias /horizon /var/lib/horizon/django.wsgi + WSGIDaemonProcess horizon user=horizon group=horizon processes=3 threads=10 home=/var/lib/horizon display-name=horzion + WSGIApplicationGroup %{GLOBAL} + + SetEnv APACHE_RUN_USER apache + SetEnv APACHE_RUN_GROUP apache + WSGIProcessGroup horizon + + DocumentRoot /var/lib/horizon/.blackhole + Alias /static /var/lib/horizon/openstack_dashboard/static + + <Directory "/var/lib/horizon" > + Options Indexes FollowSymLinks MultiViews + AllowOverride None + # Apache 2.4 uses mod_authz_host for access control now (instead of + # "Allow") + <IfVersion < 2.4> + Order allow,deny + Allow from all + </IfVersion> + <IfVersion >= 2.4> + Require all granted + </IfVersion> + </Directory> + + ErrorLog /var/log/httpd/horizon_error.log + LogLevel warn + CustomLog /var/log/httpd/horizon_access.log combined +</VirtualHost> + +WSGISocketPrefix /var/run/httpd |