nginx/server: Use combined log format for access log
This commit is contained in:
parent
005cd1a706
commit
ed538d3371
1 changed files with 1 additions and 4 deletions
|
@ -8,10 +8,7 @@ events {
|
|||
}
|
||||
|
||||
http {
|
||||
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
||||
'$status $body_bytes_sent "$http_referer" '
|
||||
'"$http_user_agent" $host';
|
||||
access_log {{ nginx_logdir }}/access.log main;
|
||||
access_log {{ nginx_logdir }}/access.log combined;
|
||||
|
||||
proxy_ssl_certificate {{ tls_certs }}/{{ inventory_hostname }}.crt;
|
||||
proxy_ssl_certificate_key {{ tls_private }}/{{ inventory_hostname }}.key;
|
||||
|
|
Loading…
Add table
Reference in a new issue