mirror of
https://github.com/ansible/awx.git
synced 2026-01-09 23:12:08 -03:30
Make our vhost server names match everything, not just localhos.
This commit is contained in:
parent
5b2751c57f
commit
830dd6102f
@ -10,8 +10,7 @@ WSGISocketPrefix /var/run/wsgi
|
||||
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
|
||||
|
||||
ServerName localhost
|
||||
ServerAlias localhost
|
||||
ServerAlias 127.0.0.1
|
||||
ServerAlias *
|
||||
DocumentRoot /var/lib/awx/public
|
||||
|
||||
WSGIScriptAlias / /var/lib/awx/wsgi.py
|
||||
|
||||
@ -4,8 +4,7 @@ LoadModule ssl_module modules/mod_ssl.so
|
||||
|
||||
<VirtualHost _default_:443>
|
||||
ServerName localhost
|
||||
ServerAlias localhost
|
||||
ServerAlias 127.0.0.1
|
||||
ServerAlias *
|
||||
DocumentRoot /var/lib/awx/public
|
||||
SSLEngine on
|
||||
SSLCertificateFile /etc/awx/awx.cert
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user