From 97c1b229825ad9cf9d67a19ba1cb4363e7c32c54 Mon Sep 17 00:00:00 2001 From: George Hunt Date: Sat, 11 Jan 2020 14:34:35 -0500 Subject: [PATCH] write the scripts log which debugs the rewrite transformations --- roles/nginx/templates/nginx.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/nginx/templates/nginx.conf b/roles/nginx/templates/nginx.conf index f77fea38f..10f33f72f 100644 --- a/roles/nginx/templates/nginx.conf +++ b/roles/nginx/templates/nginx.conf @@ -49,7 +49,9 @@ http { access_log {{ nginx_log_dir }}/access.log awstats; error_log {{ nginx_log_dir }}/error.log; + log_format scripts '$request > $document_root$fastcgi_script_name $fastcgi_path_info'; + access_log {{ nginx_log_dir }}/scripts.log scripts; ##