nginx/etc/nginx/include.d/stream.conf

15 lines
479 B
Plaintext

stream {
log_format basic '$remote_addr [$time_local] '
'$protocol $status $bytes_sent $bytes_received '
'$session_time';
log_format proxy '$time_local: $remote_addr '
'$protocol $status $bytes_sent $bytes_received '
'$session_time "$upstream_addr" '
'"$upstream_bytes_sent" "$upstream_bytes_received" "$upstream_connect_time"';
proxy_protocol on;
include /etc/nginx/stream.d/*.conf;
}