From 3de8c915a08e753f588ac4527e3725a2aa6a9199 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 28 Dec 2015 13:09:41 +0000 Subject: [PATCH] Add error_log --- templates/vhosts.j2 | 3 +++ 1 file changed, 3 insertions(+) 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 }};