nginx prefix dir template, and run script