Skip to content

Commit 95ff308

Browse files
Garrett Wmyii
Garrett W
authored andcommitted
feat(pillar.example): add stock log_format
1 parent 3679172 commit 95ff308

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pillar.example

+3-2
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,9 @@ nginx:
135135

136136
### module ngx_http_log_module example
137137
log_format: |-
138-
main '...';
139-
access_log /var/log/nginx/access_log main
138+
main '$remote_addr - $remote_user [$time_local] $status '
139+
'"$request" $body_bytes_sent "$http_referer" '
140+
'"$http_user_agent" "$http_x_forwarded_for"'
140141
access_log: [] #suppress default access_log option from being added
141142

142143
### module nngx_stream_core_module

0 commit comments

Comments
 (0)