mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 15:21:13 +03:00
956b076e5b
* also re-added the WSGISocketPrefix line to the apache config, since that was broken on RHEL systems, however it is now changed to be in /var/run instead of just run (relative to the httpd root) which didn't work on Ubuntu systems.
33 lines
797 B
Plaintext
33 lines
797 B
Plaintext
NameVirtualHost *:80
|
|
WSGISocketPrefix /var/run/wsgi
|
|
|
|
<VirtualHost _default_:80>
|
|
ServerName localhost
|
|
ServerAlias localhost
|
|
ServerAlias 127.0.0.1
|
|
DocumentRoot /var/lib/awx/public
|
|
|
|
WSGIScriptAlias / /var/lib/awx/wsgi.py
|
|
WSGIPassAuthorization On
|
|
|
|
# FIXME: May want to tune these parameters after performance testing.
|
|
WSGIDaemonProcess awx user=awx group=awx processes=2 threads=20 maximum-requests=1000 display-name="%{GROUP}"
|
|
WSGIProcessGroup awx
|
|
|
|
Alias /favicon.ico /var/lib/awx/public/static/favicon.ico
|
|
Alias /static/ /var/lib/awx/public/static/
|
|
|
|
<Directory /var/lib/awx/>
|
|
<Files wsgi.py>
|
|
Order deny,allow
|
|
Allow from all
|
|
</Files>
|
|
</Directory>
|
|
|
|
<Directory /var/lib/awx/public/>
|
|
Order deny,allow
|
|
Allow from all
|
|
</Directory>
|
|
|
|
</VirtualHost>
|