How can we set NGINX web server and its RTMP module on mac system?

Avinay Kumar picture Avinay Kumar · Aug 14, 2017 · Viewed 7.5k times · Source

How can we set NGINX web server and its RTMP module on mac system?

I have tried to set up server using below link

https://github.com/arut/nginx-rtmp-module/wiki/Getting-started-with-nginx-rtmp

https://github.com/arut/nginx-rtmp-module/wiki/Installing-via-Build

But could not run it as it give error as below :-

nginx-rtmp-module-master XXXXX$ ./configure --add-module=/path/to/nginx-rtmp-module --with-debug ...
-bash: ./configure: No such file or directory

Answer

Alex Dobrushskiy picture Alex Dobrushskiy · Apr 23, 2018

I've faced the same problem, however brew tap homebrew/nginx returns a error

Error: homebrew/nginx was deprecated. This tap is now empty as all its formulae were migrated.

I solved it with

brew tap denji/homebrew-nginx

Instead of

brew tap homebrew/homebrew-nginx