Starting/Restarting nginx from homebrew causes instant crash with no logs

Homebrew is located at /opt/homebrew

Homebrew services list upon restarting nginx. Strange thing is, there are no logs generated. This is after I freshly brew uninstall nginx and then brew install nginx. The /opt/homebrew/var/log/nginx directory is newly created by the reinstall, but remains empty.

Any idea what might be going on, or what to look into?

Thanks!

Expected nginx to start and stay up, but it instantly crashes with no error logs.

Tried uninstalling/reinstalling (including deleting the nginx log folder before reinstall), restarted my Mac (M1 Max).

Tried checking logs, but there are no logs.

Read more here: Source link