use nginx stable instead of mainline (currently 1.6.2), config templating