From cde460e1158e03a398895cfbf199d6587ef6d4d8 Mon Sep 17 00:00:00 2001 From: Pete Maynard Date: Mon, 12 Dec 2016 22:27:33 +0000 Subject: [PATCH] Synapse Nginx separate log files --- roles/synapse/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/synapse/tasks/main.yml b/roles/synapse/tasks/main.yml index 720dca6..5f35685 100644 --- a/roles/synapse/tasks/main.yml +++ b/roles/synapse/tasks/main.yml @@ -58,8 +58,8 @@ location /_matrix { proxy_pass http://localhost:8008; proxy_set_header X-Forwarded-For $remote_addr; - error_log logs/synapse-error.log crit; - access_log logs/synapse-access.log crit; + error_log /var/log/nginx/synapse-error.log; + access_log /var/log/nginx/synapse-access.log; } - name: Allow Federated connections