Is it true that any proper morphism of relative dimension$\leq 1$ is projective (no additional assumptions whatsoever)? Is it true that any such morphism is $H$-projective (https://stacks.math.columbia.edu/tag/01W8)?

Is there a published reference containing a complete proof?