From a6de002eda2ebcac24beb4bc79285d6016bf3095 Mon Sep 17 00:00:00 2001 From: Muhammed Hussein karimi Date: Sat, 15 Jan 2022 00:56:57 +0330 Subject: [PATCH] FIX: logging volume not working fix path for logging in nginx ansible role --- ansible/roles/nginx/templates/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/nginx/templates/nginx.conf b/ansible/roles/nginx/templates/nginx.conf index 2e348623..8f5e9312 100644 --- a/ansible/roles/nginx/templates/nginx.conf +++ b/ansible/roles/nginx/templates/nginx.conf @@ -67,8 +67,8 @@ http { server_name {{ kuma_domain }}; listen 443 ssl http2 default_server; - access_log /var/log/nginx/{{ kuma_domain }}.access.log main; - error_log /var/log/nginx/{{ kuma_domain }}.error.log; + access_log /var/log/nginx/{{ kuma_domain }}/access.log main; + error_log /var/log/nginx/{{ kuma_domain }}/error.log; location / { # rewrite ^/(.*)/$ /$1 permanent;