process template for static nginx