diff options
| author | Luke Hoersten <[email protected]> | 2026-03-25 21:42:49 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2026-03-25 21:42:49 -0500 |
| commit | 58d4444b06de49587417791bb06a4fe1aeda571d (patch) | |
| tree | c7253acfe09ea1ce9baf229c8b0fa5757a4d577f /nginx/files/nginx.conf | |
| parent | 22a05075f34e0f13e3d59a57ffb4903ee6e1c6d3 (diff) | |
Update versions and fix nginx logging.
Diffstat (limited to 'nginx/files/nginx.conf')
| -rw-r--r-- | nginx/files/nginx.conf | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/nginx/files/nginx.conf b/nginx/files/nginx.conf index 2f7cb0a..215d8fe 100644 --- a/nginx/files/nginx.conf +++ b/nginx/files/nginx.conf @@ -38,7 +38,12 @@ http { # 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; ## |
