mirror of
https://github.com/ansible/awx.git
synced 2026-01-09 23:12:08 -03: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:
parent
15a08232e0
commit
6a98afc649
@ -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>
|
||||
@ -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>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user