Sfoglia il codice sorgente

feat(`pillar.example`): add stock `log_format`

tags/v0.56.0
Garrett W 5 anni fa
parent
commit
95ff308e7e
1 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. +3
    -2
      pillar.example

+ 3
- 2
pillar.example Vedi File

@@ -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

Loading…
Annulla
Salva