better mustache and nginx handling