We will use Homebrew to install the software we need to make this all work: /bin/bash -c '$(curl -fsSL )' Many corporate VPNs require all DNS requests to travel through the VPN preventing/impeding resolution of such a TLD. Per RFC 2606 you should choose a top level domain (TLD) that is reserved (such as. In addition we want the option to be able to easily customize the Nginx configuration for each site individually, so we can configure site specific behaviours such as reverse proxies etc.The above URL will have a fully trusted certificate with a padlock in Chrome/Safari.will be served by: ~/sites//index.html.In this post, our goal is to configure a Mac to provide HTTPS with a trusted certificate using nginx as the web server. Increasingly technologies that power the web platform require HTTPS to function ( HTTP/2, Service Workers etc.), but there is still a surprising amount of friction involved in trying to setup a local HTTPS enabled development environment.