better nginx practice, no if