diff --git a/templates/vhosts.j2 b/templates/vhosts.j2 index 4f9e198..17adf4d 100644 --- a/templates/vhosts.j2 +++ b/templates/vhosts.j2 @@ -12,6 +12,9 @@ server { {% if vhost.access_log is defined %} access_log {{ vhost.access_log }}; {% endif %} + {% if vhost.error_log is defined %} + error_log {{ vhost.error_log }} error; + {% endif %} {% if vhost.return is defined %} return {{ vhost.return }};