diff --git a/plugins/openresty/conf/nginx.conf b/plugins/openresty/conf/nginx.conf index b7e31b14d..a44d432db 100644 --- a/plugins/openresty/conf/nginx.conf +++ b/plugins/openresty/conf/nginx.conf @@ -21,6 +21,10 @@ http default_type application/octet-stream; + log_format main '$remote_addr - $remote_user [$time_local] "$request" ' + '$status $body_bytes_sent "$http_referer" ' + '"$http_user_agent" "$http_x_forwarded_for" "$request_time"'; + server_names_hash_bucket_size 512; client_header_buffer_size 32k; large_client_header_buffers 4 32k;