From 1ed0c45aef66ba4094c69f9b35a93640b6c485b6 Mon Sep 17 00:00:00 2001 From: Pete Maynard Date: Mon, 12 Dec 2016 22:19:02 +0000 Subject: [PATCH] Synapse Nginx separate log files --- roles/synapse/tasks/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/synapse/tasks/main.yml b/roles/synapse/tasks/main.yml index 6b25b50..720dca6 100644 --- a/roles/synapse/tasks/main.yml +++ b/roles/synapse/tasks/main.yml @@ -58,7 +58,11 @@ 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; } - name: Allow Federated connections ufw: rule=limit port=8448 proto=tcp + +