mirror of
https://github.com/ansible/awx.git
synced 2026-02-25 23:16:01 -03:30
Rename ansibleworks to awx.
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
NameVirtualHost *:80
|
||||
WSGISocketPrefix run/wsgi
|
||||
|
||||
<VirtualHost _default_:80>
|
||||
ServerName localhost
|
||||
ServerAlias localhost
|
||||
ServerAlias 127.0.0.1
|
||||
DocumentRoot /var/lib/ansibleworks/public
|
||||
|
||||
WSGIScriptAlias / /var/lib/ansibleworks/wsgi.py
|
||||
WSGIPassAuthorization On
|
||||
|
||||
# FIXME: May want to tune these parameters after performance testing.
|
||||
WSGIDaemonProcess ansibleworks user=ansibleworks group=ansibleworks processes=2 threads=20 maximum-requests=1000 display-name="%{GROUP}"
|
||||
WSGIProcessGroup ansibleworks
|
||||
|
||||
Alias /favicon.ico /var/lib/ansibleworks/public/static/favicon.ico
|
||||
Alias /static/ /var/lib/ansibleworks/public/static/
|
||||
|
||||
<Directory /var/lib/ansibleworks/>
|
||||
<Files wsgi.py>
|
||||
Order deny,allow
|
||||
Allow from all
|
||||
</Files>
|
||||
</Directory>
|
||||
|
||||
<Directory /var/lib/ansibleworks/public/>
|
||||
Order deny,allow
|
||||
Allow from all
|
||||
</Directory>
|
||||
|
||||
</VirtualHost>
|
||||
32
config/awx.conf
Normal file
32
config/awx.conf
Normal file
@@ -0,0 +1,32 @@
|
||||
NameVirtualHost *:80
|
||||
WSGISocketPrefix 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>
|
||||
@@ -5,19 +5,19 @@ ADMINS = (
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.postgresql_psycopg2',
|
||||
'NAME': 'ansibleworks',
|
||||
'USER': 'ansibleworks',
|
||||
'NAME': 'awx',
|
||||
'USER': 'awx',
|
||||
'PASSWORD': 'AWsecret',
|
||||
'HOST': '',
|
||||
'PORT': '',
|
||||
}
|
||||
}
|
||||
|
||||
STATIC_ROOT = '/var/lib/ansibleworks/public/static'
|
||||
STATIC_ROOT = '/var/lib/awx/public/static'
|
||||
|
||||
PROJECTS_ROOT = '/var/lib/ansibleworks/projects'
|
||||
PROJECTS_ROOT = '/var/lib/awx/projects'
|
||||
|
||||
SECRET_KEY = file('/etc/ansibleworks/SECRET_KEY', 'rb').read().strip()
|
||||
SECRET_KEY = file('/etc/awx/SECRET_KEY', 'rb').read().strip()
|
||||
|
||||
ALLOWED_HOSTS = ['*']
|
||||
|
||||
@@ -32,7 +32,7 @@ LOGGING['handlers']['syslog'] = {
|
||||
|
||||
SERVER_EMAIL = 'root@localhost'
|
||||
DEFAULT_FROM_EMAIL = 'webmaster@localhost'
|
||||
EMAIL_SUBJECT_PREFIX = '[AnsibleWorks] '
|
||||
EMAIL_SUBJECT_PREFIX = '[AWX] '
|
||||
|
||||
EMAIL_HOST = 'localhost'
|
||||
EMAIL_PORT = 25
|
||||
|
||||
Reference in New Issue
Block a user