Merge pull request #6 from tgerla/apache

Make our vhost server names match everything, not just localhost
This commit is contained in:
Michael DeHaan 2013-11-10 13:39:23 -08:00
commit 9e87f14d2e
2 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -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