Nginx-all-module configuration for RTMP

I installed:

nginx version: nginx/1.19.6 (x86_64-pc-linux-gnu)
built with OpenSSL 1.1.1l  24 Aug 2021
TLS SNI support enabled

and I am trying to use it from LAN side 192.168.1.1 to send rtmp stream from ffmpeg
while I am getting an error in ffmpeg output:


RTMP_Connect0, failed to connect socket. 10061 (Unknown error)
rtmp://192.168.1.1:1935/live/stream1: Unknown error occurred

I try to put nginx.conf in etc/nginx or under /conf.d as additional.config
and RTMP part is usual:

events {
	worker_connections  8192;
	# max value 32768, nginx recycling connections+registry optimization = 
	#   this.value * 20 = max concurrent connections currently tested with one worker
	#   C1000K should be possible depending there is enough ram/cpu power
	# multi_accept on;
}
rtmp {
  server {
    listen 1935;
    chunk_size 4096;
    application live {
      live on;
      record off;
    }
  }
}

I was following this explanation on the changed structure under luci:
https://forum.openwrt.org/t/nginx-new-conf-d-folder/54537/4

I am not getting it. Could someone give me a hand on this please.

Kind Regards.