1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 09:51:09 +03:00

Merge pull request #9 from jlaska/trusty_support

Add Ubuntu-14.04 Trusty support
This commit is contained in:
James Laska 2014-03-10 15:59:18 -04:00
commit 8960f17f28
3 changed files with 32 additions and 10 deletions

View File

@ -1,6 +1,6 @@
NameVirtualHost *:443
WSGISocketPrefix /var/run/wsgi
LoadModule ssl_module modules/mod_ssl.so
# LoadModule ssl_module modules/mod_ssl.so
<VirtualHost _default_:443>
ServerName localhost
@ -21,14 +21,24 @@ LoadModule ssl_module modules/mod_ssl.so
<Directory /var/lib/awx/>
<Files wsgi.py>
Order deny,allow
Allow from all
<IfVersion >= 2.3>
Require all granted
</IfVersion>
<IfVersion < 2.3>
Order deny,allow
Allow from all
</IfVersion>
</Files>
</Directory>
<Directory /var/lib/awx/public/>
Order deny,allow
Allow from all
<IfVersion >= 2.3>
Require all granted
</IfVersion>
<IfVersion < 2.3>
Order deny,allow
Allow from all
</IfVersion>
</Directory>
</VirtualHost>

View File

@ -24,14 +24,24 @@ WSGISocketPrefix /var/run/wsgi
<Directory /var/lib/awx/>
<Files wsgi.py>
Order deny,allow
Allow from all
<IfVersion >= 2.3>
Require all granted
</IfVersion>
<IfVersion < 2.3>
Order deny,allow
Allow from all
</IfVersion>
</Files>
</Directory>
<Directory /var/lib/awx/public/>
Order deny,allow
Allow from all
<IfVersion >= 2.3>
Require all granted
</IfVersion>
<IfVersion < 2.3>
Order deny,allow
Allow from all
</IfVersion>
</Directory>

View File

@ -143,7 +143,9 @@ setup(
("%s" % homedir, ["config/wsgi.py",
"awx/static/favicon.ico",
]),
("%s" % webconfig, ["config/awx.conf","config/awx-plain.conf"]),
("%s" % webconfig, ["config/awx-httpd-80.conf",
"config/awx-httpd-443.conf",
]),
]
),
options = {