Seems access_log and error_log options are not available in stream server section. If its available, can you please share some example config for me ?. Thanks. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,266943,266943#msg-266943