The content in the 'server.conf' file, should be copy pasted into the 'nginx.conf' file after nginx is installed with the following shell command:

"brew install nginx"

If brew is not installed yet, first install brew with homebrew.