ngx_stream_log_module log_format not working

CCS nginx-forum at forum.nginx.org
Mon Mar 18 11:25:54 UTC 2019


This worked for me without and issue. Try and copy. 

log_format proxy  '$remote_addr [$time_local]'
                         'with SSL Server name "$ssl_server_name" '
                         'proxying to "$selected_upstream" '
                         '$protocol $status $bytes_sent $bytes_received '
                         '$session_time';

access_log /var/log/nginx/nginx-access.log proxy;

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,283403,283414#msg-283414



More information about the nginx mailing list