mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 09:27:36 -02:30
Support httpd 2.2 and 2.4 config formats
Create new-style debian apache-2.4 conf-enabled/ symlinks
This commit is contained in:
@@ -21,14 +21,24 @@ LoadModule ssl_module modules/mod_ssl.so
|
|||||||
|
|
||||||
<Directory /var/lib/awx/>
|
<Directory /var/lib/awx/>
|
||||||
<Files wsgi.py>
|
<Files wsgi.py>
|
||||||
Order deny,allow
|
<IfVersion >= 2.3>
|
||||||
Allow from all
|
Require all granted
|
||||||
|
</IfVersion>
|
||||||
|
<IfVersion < 2.3>
|
||||||
|
Order deny,allow
|
||||||
|
Allow from all
|
||||||
|
</IfVersion>
|
||||||
</Files>
|
</Files>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory /var/lib/awx/public/>
|
<Directory /var/lib/awx/public/>
|
||||||
Order deny,allow
|
<IfVersion >= 2.3>
|
||||||
Allow from all
|
Require all granted
|
||||||
|
</IfVersion>
|
||||||
|
<IfVersion < 2.3>
|
||||||
|
Order deny,allow
|
||||||
|
Allow from all
|
||||||
|
</IfVersion>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
@@ -24,14 +24,24 @@ WSGISocketPrefix /var/run/wsgi
|
|||||||
|
|
||||||
<Directory /var/lib/awx/>
|
<Directory /var/lib/awx/>
|
||||||
<Files wsgi.py>
|
<Files wsgi.py>
|
||||||
Order deny,allow
|
<IfVersion >= 2.3>
|
||||||
Allow from all
|
Require all granted
|
||||||
|
</IfVersion>
|
||||||
|
<IfVersion < 2.3>
|
||||||
|
Order deny,allow
|
||||||
|
Allow from all
|
||||||
|
</IfVersion>
|
||||||
</Files>
|
</Files>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory /var/lib/awx/public/>
|
<Directory /var/lib/awx/public/>
|
||||||
Order deny,allow
|
<IfVersion >= 2.3>
|
||||||
Allow from all
|
Require all granted
|
||||||
|
</IfVersion>
|
||||||
|
<IfVersion < 2.3>
|
||||||
|
Order deny,allow
|
||||||
|
Allow from all
|
||||||
|
</IfVersion>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
|
|
||||||
4
setup.py
4
setup.py
@@ -143,7 +143,9 @@ setup(
|
|||||||
("%s" % homedir, ["config/wsgi.py",
|
("%s" % homedir, ["config/wsgi.py",
|
||||||
"awx/static/favicon.ico",
|
"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 = {
|
options = {
|
||||||
|
|||||||
Reference in New Issue
Block a user