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;