Confined gasket seal