The rolled portion of the gasket goes up, and should touch the head. In reality, it doesn't matter, and neither is right or wrong. The roll can wear into the surface it touches as the head and block shift, and it's easier to surface the head to remove the impression, than the block.