@gibbsy81 Have you considered using a pre existing development environment like VVV
If you don't want to go that route heres what we include in all site configs generated by the VVV project.
https://github.com/Varying-Vagrant-Vagrants/VVV/blob/develop/config/nginx-config/nginx-wp-common.conf