Update nginx.tmpl

Changed the template to focus on VIRTUAL_PATHs instead of VIRTUAL_HOSTs.