silly script to install and configure a nginx server in mac