Reloads nginx only when needed.