summaryrefslogtreecommitdiffstats
path: root/theos/nginx
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2017-01-10 16:41:02 +0000
committerJohannes Löthberg <johannes@kyriasis.com>2017-01-10 16:41:02 +0000
commitea9d29f3c359b92496895e59321076345dc35259 (patch)
tree00e03532f851865ecc44ce60d805e99025e74f80 /theos/nginx
parente066729ddd8379c84b8b59a3876f832f3e657677 (diff)
downloadpillar-ea9d29f3c359b92496895e59321076345dc35259.tar.xz
nginx: git: set error_log
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'theos/nginx')
-rw-r--r--theos/nginx/git_kyriasis_com.sls3
1 files changed, 3 insertions, 0 deletions
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: