2c95fcd60c
This change makes apache set process group name in the process name, so when listing the processes the user can easily identify what's running in each apache process. This is specially useful to debug memory consumption or when a process consumming too much CPU. Change-Id: I9787980052f451f452d3b8e5e51385ad5aa01e6a
32 lines
937 B
Plaintext
32 lines
937 B
Plaintext
<VirtualHost *:80>
|
|
WSGIScriptAlias / %HORIZON_DIR%/openstack_dashboard/wsgi/django.wsgi
|
|
WSGIDaemonProcess horizon user=%USER% group=%GROUP% processes=3 threads=10 home=%HORIZON_DIR% display-name=%{GROUP}
|
|
WSGIApplicationGroup %{GLOBAL}
|
|
|
|
SetEnv APACHE_RUN_USER %USER%
|
|
SetEnv APACHE_RUN_GROUP %GROUP%
|
|
WSGIProcessGroup horizon
|
|
|
|
DocumentRoot %HORIZON_DIR%/.blackhole/
|
|
Alias /media %HORIZON_DIR%/openstack_dashboard/static
|
|
|
|
<Directory />
|
|
Options FollowSymLinks
|
|
AllowOverride None
|
|
</Directory>
|
|
|
|
<Directory %HORIZON_DIR%/>
|
|
Options Indexes FollowSymLinks MultiViews
|
|
%HORIZON_REQUIRE%
|
|
AllowOverride None
|
|
Order allow,deny
|
|
allow from all
|
|
</Directory>
|
|
|
|
ErrorLog /var/log/%APACHE_NAME%/horizon_error.log
|
|
LogLevel warn
|
|
CustomLog /var/log/%APACHE_NAME%/horizon_access.log combined
|
|
</VirtualHost>
|
|
|
|
WSGISocketPrefix /var/run/%APACHE_NAME%
|