Use the hostname instead of the IP in the apache config

This commit is contained in:
Pierre-Yves Chibon 2015-09-29 17:54:45 +02:00
parent 73356a634b
commit a1360f065a

View file

@ -2,8 +2,8 @@ WSGISocketPrefix /var/run/wsgi
WSGIPythonOptimize 1
WSGIDaemonProcess pdc user=apache group=apache maximum-requests=1000 display-name=pdc processes=2 threads=1 shutdown-timeout=10
<VirtualHost {{ansible_ssh_host}}:80>
ServerName {{ansible_ssh_host}}
<VirtualHost {{ hostbase }}:80>
ServerName {{ hostbase }}
CustomLog /var/log/httpd/pdc-access.log combined
ErrorLog /var/log/httpd/pdc-error.log