install nginx locally mac code example
Example 1: nginx on mac
brew install nginx
brew services start nginx
Example 2: start nginx mac
brew services start nginx
brew install nginx
brew services start nginx
brew services start nginx