From 95ff308e7ebd71c69c772df1357af5007e221fa9 Mon Sep 17 00:00:00 2001 From: Garrett W Date: Fri, 26 Apr 2019 10:38:17 -0500 Subject: [PATCH] feat(`pillar.example`): add stock `log_format` --- pillar.example | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pillar.example b/pillar.example index 37a3302..b193660 100644 --- a/pillar.example +++ b/pillar.example @@ -135,8 +135,9 @@ nginx: ### module ngx_http_log_module example log_format: |- - main '...'; - access_log /var/log/nginx/access_log main + main '$remote_addr - $remote_user [$time_local] $status ' + '"$request" $body_bytes_sent "$http_referer" ' + '"$http_user_agent" "$http_x_forwarded_for"' access_log: [] #suppress default access_log option from being added ### module nngx_stream_core_module