nginx: update template variable access to remove deprecated warnings.