From 3e9cbf89da19e4c39bd2e88d3cebfc2b57c2e1bc Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Mon, 11 Feb 2019 14:40:47 +0800 Subject: [PATCH] Update nginx.conf --- plugins/openresty/conf/nginx.conf | 4 ++++ 1 file changed, 4 insertions(+) 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;