fix template

This commit is contained in:
Antonio J. Delgado 2022-12-08 13:51:38 +02:00
parent d11cc63481
commit 181acdbba5

View file

@ -39,7 +39,7 @@
{% if item.docroot %} ## Vhost docroot
DocumentRoot "{{ item.docroot | default("/var/www/{{ item.vhostname }}") }}/"
## Directories, there should at least be a declaration for {{ item.docroot }}/
## Directories, there should at least be a declaration for {{ item.docroot | default('/var/www/{{ item.vhostname }}') }}/
<Directory "{{ item.docroot | default('/var/www/{{ item.vhostname }}') }}/">
{% if item.root_options is defined %}