mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2024-11-10 07:53:29 +01:00
Fixes #28: Allow for virtualhost without documentroot.
This commit is contained in:
parent
b0e6b7ed5a
commit
2f9c001145
2 changed files with 4 additions and 0 deletions
|
@ -7,7 +7,9 @@
|
|||
{% if vhost.serveralias is defined %}
|
||||
ServerAlias {{ vhost.serveralias }}
|
||||
{% endif %}
|
||||
{% if vhost.documentroot is defined %}
|
||||
DocumentRoot {{ vhost.documentroot }}
|
||||
{% endif %}
|
||||
|
||||
{% if vhost.serveradmin is defined %}
|
||||
ServerAdmin {{ vhost.serveradmin }}
|
||||
|
|
|
@ -7,7 +7,9 @@
|
|||
{% if vhost.serveralias is defined %}
|
||||
ServerAlias {{ vhost.serveralias }}
|
||||
{% endif %}
|
||||
{% if vhost.documentroot is defined %}
|
||||
DocumentRoot {{ vhost.documentroot }}
|
||||
{% endif %}
|
||||
|
||||
{% if vhost.serveradmin is defined %}
|
||||
ServerAdmin {{ vhost.serveradmin }}
|
||||
|
|
Loading…
Reference in a new issue