我们如何在 mac 系统上设置 NGINX 网络服务器及其 RTMP 模块?

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

我们如何在 mac 系统上设置 NGINX 网络服务器及其 RTMP 模块?

我已尝试使用以下设置服务器 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

但不能 运行 它给出如下错误:-

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

你可以试试这些,我用同样的方法在我的mac上安装了auth_module

  1. brew tap homebrew/nginx
  2. brew install nginx-full --with-rtmp-module --with-debug

我遇到过同样的问题,但是 brew tap homebrew/nginx returns 一个错误

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

我用

解决了

brew tap denji/homebrew-nginx

而不是

brew tap homebrew/homebrew-nginx

重新安装

brew remove nginx
brew install nginx-full --with-rtmp-module --with-debug