From ea9d29f3c359b92496895e59321076345dc35259 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Tue, 10 Jan 2017 16:41:02 +0000 Subject: nginx: git: set error_log MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- theos/nginx/git_kyriasis_com.sls | 3 +++ 1 file changed, 3 insertions(+) diff --git a/theos/nginx/git_kyriasis_com.sls b/theos/nginx/git_kyriasis_com.sls index 7eded7a..78181a5 100644 --- a/theos/nginx/git_kyriasis_com.sls +++ b/theos/nginx/git_kyriasis_com.sls @@ -46,7 +46,10 @@ nginx: # http://www.gnuterrypratchett.com/ - add_header: 'X-Clacks-Overhead "GNU Terry Pratchett"' + - error_log: /var/log/nginx/git.error.log + - root: /usr/share/webapps/cgit + - try_files: $uri @cgit - location @cgit: -- cgit v1.2.3-54-g00ecf