mirror of
https://github.com/ansible/awx.git
synced 2026-03-07 19:51:08 -03:30
Merge pull request #6 from tgerla/apache
Make our vhost server names match everything, not just localhost
This commit is contained in:
@@ -10,8 +10,7 @@ WSGISocketPrefix /var/run/wsgi
|
|||||||
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
|
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
|
||||||
|
|
||||||
ServerName localhost
|
ServerName localhost
|
||||||
ServerAlias localhost
|
ServerAlias *
|
||||||
ServerAlias 127.0.0.1
|
|
||||||
DocumentRoot /var/lib/awx/public
|
DocumentRoot /var/lib/awx/public
|
||||||
|
|
||||||
WSGIScriptAlias / /var/lib/awx/wsgi.py
|
WSGIScriptAlias / /var/lib/awx/wsgi.py
|
||||||
|
|||||||
@@ -4,8 +4,7 @@ LoadModule ssl_module modules/mod_ssl.so
|
|||||||
|
|
||||||
<VirtualHost _default_:443>
|
<VirtualHost _default_:443>
|
||||||
ServerName localhost
|
ServerName localhost
|
||||||
ServerAlias localhost
|
ServerAlias *
|
||||||
ServerAlias 127.0.0.1
|
|
||||||
DocumentRoot /var/lib/awx/public
|
DocumentRoot /var/lib/awx/public
|
||||||
SSLEngine on
|
SSLEngine on
|
||||||
SSLCertificateFile /etc/awx/awx.cert
|
SSLCertificateFile /etc/awx/awx.cert
|
||||||
|
|||||||
Reference in New Issue
Block a user