diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 247202d..4a42da1 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -211,6 +211,10 @@ http { '"upstream_response_time":"$upstream_response_time",' '"upstream_response_length":$upstream_response_length,' '"upstream_cache_status":"$upstream_cache_status",' + + # Compressão + '"compression_ratio":"$gzip_ratio",' + '}'; log_format suspicious_bot 'SUSPICIOUS_BOT: $remote_addr - "$http_user_agent" - "$request"';