I have installed nginx 1.21.6 on my windows 10 PC. The nginx.exe app runs file when first extract it. However as soon as soon as I edit the nginx.conf file to add rtmp protocol it stops working. The line that added was:
rtmp {
server {
listen 1935;
chunk_size 4096;
application live {
live on;
record off;
}
}
}
The error message in the log file is
2022/04/06 18:54:30 [emerg] 9076#10484: unknown directive "rtmp" in C:\nginx\nginx-1.21.6/conf/nginx.conf:119
I have attached a copy of the nginx.conf file ( I just changed the files extension to TXT so I could add it to the post). ran into this before ?
rtmp {
server {
listen 1935;
chunk_size 4096;
application live {
live on;
record off;
}
}
}
The error message in the log file is
2022/04/06 18:54:30 [emerg] 9076#10484: unknown directive "rtmp" in C:\nginx\nginx-1.21.6/conf/nginx.conf:119
I have attached a copy of the nginx.conf file ( I just changed the files extension to TXT so I could add it to the post). ran into this before ?