Installing NGINX on MAC

Nginx

Nginx is a web server that can also be used as a reverse proxy, load balancer, mail proxy and HTTP cache. It started out as a web server designed for maximum performance and stability.

Installing Nginx using Homebrew

Homebrew โ€” Homebrew is a free and open-source software package management system that simplifies the installation of software on Appleโ€™s operating system.

Step- 1- Installing Homebrew

Run below command in terminal

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Step -2- Update Homebrew

Run below command in terminal

brew update

Step -3- Install Nginx

Run below command in terminal

brew install nginx

Step -4- Validate Nginx installation

Run below command in terminal

nginx

It will start the web server.

Happy Learningโ€ฆ. ๐Ÿ™๐Ÿ™๐Ÿ™

ย