updated nginx.template.conf to include media url