Use the hostname instead of the IP in the apache config
This commit is contained in:
parent
73356a634b
commit
a1360f065a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue