31 lines
890 B
Plaintext
31 lines
890 B
Plaintext
<VirtualHost *:80>
|
|
WSGIScriptAlias / /opt/stack/horizon/openstack_dashboard/wsgi/django.wsgi
|
|
WSGIDaemonProcess horizon user=stack group=stack processes=3 threads=10 home=/opt/stack/horizon
|
|
WSGIApplicationGroup %{GLOBAL}
|
|
|
|
SetEnv APACHE_RUN_USER stack
|
|
SetEnv APACHE_RUN_GROUP stack
|
|
WSGIProcessGroup horizon
|
|
|
|
DocumentRoot /opt/stack/horizon/.blackhole/
|
|
Alias /media /opt/stack/horizon/openstack_dashboard/static
|
|
|
|
<Directory />
|
|
Options FollowSymLinks
|
|
AllowOverride None
|
|
</Directory>
|
|
|
|
<Directory /opt/stack/horizon/>
|
|
Options Indexes FollowSymLinks MultiViews
|
|
AllowOverride None
|
|
Order allow,deny
|
|
allow from all
|
|
</Directory>
|
|
|
|
ErrorLog /var/log/apache2/horizon_error.log
|
|
LogLevel warn
|
|
CustomLog /var/log/apache2/horizon_access.log combined
|
|
</VirtualHost>
|
|
|
|
WSGISocketPrefix /var/run/apache2
|