1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00
awx/config/awx.conf

33 lines
797 B
Plaintext
Raw Normal View History

2013-06-23 21:21:02 +04:00
NameVirtualHost *:80
WSGISocketPrefix /var/run/wsgi
2013-06-23 21:21:02 +04:00
<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>