summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorTim Gerla <tim@gerla.net>2013-11-10 00:58:08 +0100
committerTim Gerla <tim@gerla.net>2013-11-10 00:58:08 +0100
commit830dd6102f198186b9e4d208610bf309053e130b (patch)
tree3d3022faa5901d30e6e62b46ec428afefdecc4b3 /config
parentFixed parent container of activity stream setting the min-height value. This ... (diff)
downloadawx-830dd6102f198186b9e4d208610bf309053e130b.tar.xz
awx-830dd6102f198186b9e4d208610bf309053e130b.zip
Make our vhost server names match everything, not just localhos.
Diffstat (limited to 'config')
-rw-r--r--config/awx-plain.conf3
-rw-r--r--config/awx.conf3
2 files changed, 2 insertions, 4 deletions
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
<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