Skip to content

Instantly share code, notes, and snippets.

View jet2018's full-sized avatar
💭
Active on bitbucket

Tumusiime Ezra jet2018

💭
Active on bitbucket
View GitHub Profile
@jet2018
jet2018 / README.md
Created July 1, 2023 10:15 — forked from jimothyGator/README.md
Nginx configuration for Mac OS X with Homebrew, using sites-enabled directory.
mkdir -p /usr/local/etc/nginx/sites-{enabled,available}
cd /usr/local/etc/nginx/sites-enabled
ln -s ../sites-available/default.conf
ln -s ../sites-available/default-ssl.conf

File locations:

  • nginx.conf to /usr/local/etc/nginx/
  • default.conf and default-ssl.conf to /usr/local/etc/nginx/sites-available
  • homebrew.mxcl.nginx.plist to /Library/LaunchDaemons/