1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-05 05:51:21 +03:00
awx/config/awx.conf
James Cammarata 956b076e5b Updated wsgi.py to get the lib path from distutils.sysconfig
* 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.
2013-06-24 02:32:52 -04:00

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>