Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 484 Bytes

Nginx configuration for Mac OS X with Homebrew, using vhost directory.md

File metadata and controls

21 lines (11 loc) · 484 Bytes

Nginx configuration for Mac OS X with Homebrew, using vhost directory.

Check nginx services on homebrew and start:

brew services list

Create directory for virtual host

mkdir -p /usr/local/etc/nginx/vhosts

Adding setup file from sites-enabled to nginx configuration nginx.conf on buttom file.

include vhosts/*;

Try to create virtual host in directory vhosts

After that you can reload nginx

brew services restart nginx

Please inform if you have any question to.