diff --git a/config/awx-plain.conf b/config/awx-plain.conf index 1bb1dafbd9..94c8f90e2f 100644 --- a/config/awx-plain.conf +++ b/config/awx-plain.conf @@ -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 diff --git a/config/awx.conf b/config/awx.conf index b9ae3c69e1..acc1e0c282 100644 --- a/config/awx.conf +++ b/config/awx.conf @@ -4,8 +4,7 @@ LoadModule ssl_module modules/mod_ssl.so ServerName localhost - ServerAlias localhost - ServerAlias 127.0.0.1 + ServerAlias * DocumentRoot /var/lib/awx/public SSLEngine on SSLCertificateFile /etc/awx/awx.cert