In 2.0 with the default HTX mode, all those code paths have changed completely.
The issue is probably about the missing port in the Host header.
Try to add :443
to it and check if that still happens. Use option accept-invalid-http-request
in the frontend to workaround.