deployment Installing Brew with Nginx and LUA brew install nginx-full --with-lua-module --with-set-misc-module Docroot is: /usr/local/var/www The default port has been set in /usr/local/etc/nginx/nginx.conf to 8080 so that nginx can run without sudo. nginx will load all files in /usr/local/etc/nginx/servers/
deployment Setup local wildcard domains To make your development domains point to localhost you could edit etc/hosts and add a line mdstn.com.dev 127.0.0.1 And every project you’re going to start you’ll add more line. Such as: anotherdomain.com.dev 127.0.