mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2024-12-22 11:00:18 +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 %}
|
{% if vhost.serveralias is defined %}
|
||||||
ServerAlias {{ vhost.serveralias }}
|
ServerAlias {{ vhost.serveralias }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if vhost.documentroot is defined %}
|
||||||
DocumentRoot {{ vhost.documentroot }}
|
DocumentRoot {{ vhost.documentroot }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if vhost.serveradmin is defined %}
|
{% if vhost.serveradmin is defined %}
|
||||||
ServerAdmin {{ vhost.serveradmin }}
|
ServerAdmin {{ vhost.serveradmin }}
|
||||||
|
|
|
@ -7,7 +7,9 @@
|
||||||
{% if vhost.serveralias is defined %}
|
{% if vhost.serveralias is defined %}
|
||||||
ServerAlias {{ vhost.serveralias }}
|
ServerAlias {{ vhost.serveralias }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if vhost.documentroot is defined %}
|
||||||
DocumentRoot {{ vhost.documentroot }}
|
DocumentRoot {{ vhost.documentroot }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if vhost.serveradmin is defined %}
|
{% if vhost.serveradmin is defined %}
|
||||||
ServerAdmin {{ vhost.serveradmin }}
|
ServerAdmin {{ vhost.serveradmin }}
|
||||||
|
|
Loading…
Reference in a new issue