Install Nginx on Mac with Homebrew, verify nginx, write a local config, fix SSL paths, and test HTTP plus HTTPS.
Complete Nginx setup on macOS with exact terminal commands, custom local ports, nginx -t validation, and real curl verification.
Chapters
0:00 Intro
0:03 Install Nginx
0:15 Verify Binary
0:24 Create Local Site
0:37 Fix SSL Path
0:51 Test HTTP
1:03 Test HTTPS
Commands
brew install nginx
nginx -v
which nginx
nginx -t -p /tmp/nginx-demo/ -c conf/nginx.conf
openssl req -x509 -nodes -days 7 -newkey rsa:2048
nginx -p /tmp/nginx-demo/ -c conf/nginx.conf
curl -I http://127.0.0.1:8088
curl -kI https://127.0.0.1:8443
#nginx #installnginx #macos #homebrew #ssl #installthat