Hardy spaces and boundary conditions from the Ising model