Fixes #28: Allow for virtualhost without documentroot.

This commit is contained in:
Jeff Geerling 2016-01-02 22:25:49 -06:00
parent b0e6b7ed5a
commit 2f9c001145
2 changed files with 4 additions and 0 deletions

View file

@ -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 }}

View file

@ -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 }}