fix if statement to allow nginx reload on template change

Thanks for the great fork! I noticed that nginx doesn't get reloaded if you make template changes. Let me know if I'm confused on how it's supposed to work.