Osx-nginx

From John Freier
Revision as of 18:28, 18 May 2022 by Jfreier (Talk | contribs) (Created page with "To install Nginx on OSX. 1. Download Nginx. 2. Extract 3. Run the following ./configure make sudo make install It will install Nginx to /usr/local/nginx Nginx will de...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

To install Nginx on OSX.

1. Download Nginx. 2. Extract 3. Run the following

 ./configure
 make
 sudo make install

It will install Nginx to /usr/local/nginx

Nginx will default to port 80.

Start/Stop

To start Nginx

 sudo ./sbin/nginx


To stop Nginx

 ps aux | grep nginx
 kill [nginx_pid]