소스 검색

Add error_log

Oliver Davies 9 년 전
부모
커밋
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 }};