From a1360f065a8d6becdb6a71dcb5176620caad4ef8 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Tue, 29 Sep 2015 17:54:45 +0200 Subject: [PATCH] Use the hostname instead of the IP in the apache config --- roles/pdc/templates/pdc.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/pdc/templates/pdc.conf b/roles/pdc/templates/pdc.conf index 70dfb6fd48..8c3461bd3a 100644 --- a/roles/pdc/templates/pdc.conf +++ b/roles/pdc/templates/pdc.conf @@ -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 - - ServerName {{ansible_ssh_host}} + + ServerName {{ hostbase }} CustomLog /var/log/httpd/pdc-access.log combined ErrorLog /var/log/httpd/pdc-error.log