Configuration of nginx to send data by tcp to logstash

Hi. I would like to know if it is possible to configure nginx to send the log records by tcp, directly to the logstash.

Thanks