nginx/files/nginx.conf
changeset 252 7a54477702cc
parent 47 3f1771bb0d79
child 253 4ca131e557dc
--- a/nginx/files/nginx.conf	Mon Mar 23 23:38:04 2026 -0500
+++ b/nginx/files/nginx.conf	Wed Mar 25 21:42:49 2026 -0500
@@ -38,7 +38,12 @@
         # Logging Settings
         ##
 
-        access_log /var/log/nginx/access.log;
+        map $uri $loggable {
+            default                     1;
+            ~*\.(css|js|ico|png|jpg|jpeg|gif|svg|woff|woff2|ttf|eot|webp|map)$  0;
+        }
+
+        access_log /var/log/nginx/access.log combined if=$loggable;
         error_log /var/log/nginx/error.log;
 
         ##