Oliver Davies 9 жил өмнө
parent
commit
3de8c915a0
1 өөрчлөгдсөн 3 нэмэгдсэн , 0 устгасан
  1. 3 0
      templates/vhosts.j2

+ 3 - 0
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 }};