[blogs-web/fpm] Log accesses to per-blog /files



commit f6bf81b201289b791853fc3e45f194fe65f92111
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Tue Oct 13 12:34:52 2020 +0200

    Log accesses to per-blog /files

 nginx.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/nginx.conf b/nginx.conf
index 2222cb8..98432b6 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -82,8 +82,8 @@ http {
         location ~ ^(/[^/]+/)?files/(.+) {
             try_files /wp-content/blogs.dir/$blogid/files/$2 /wp-includes/ms-files.php?file=$2 ;
             expires max;
-            access_log off;
-            log_not_found off;
+            #access_log off;
+            #log_not_found off;
         }
     
         if (!-e $request_filename) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]