14 lines
389 B
Text
14 lines
389 B
Text
# /etc/nginx/stream.conf
|
|
|
|
stream {
|
|
# Specifies the main log format.
|
|
log_format main '$remote_addr [$time_local] '
|
|
'$protocol $status $bytes_sent $bytes_received '
|
|
'$session_time "$upstream_addr" '
|
|
'"$upstream_bytes_sent" "$upstream_bytes_received" "$upstream_connect_time"';
|
|
|
|
access_log /var/log/nginx/stream.log main;
|
|
|
|
# Includes servers configs.
|
|
include stream.d/*.conf;
|
|
}
|