1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 06:51:10 +03:00
awx/config/awx.conf
2013-06-24 01:16:00 -04:00

32 lines
766 B
Plaintext

NameVirtualHost *:80
<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>