Ubgrade to 14.6 from 14.5 warning origin does not support LFS locking api

Hi, title says it all, upgraded yesterday and today get errors about LFS locking API when trying to push

It seems to be concerned about www.git.mydomain and git.mydomain possibly being different

Setting locking to false does not solve the issue, so I think the x509 error is the real problem

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags origin develop:develop
Pushing to (omitted for privacy)
Remote "origin" does not support the LFS locking API. Consider disabling it with:
  $ git config lfs.(omitted for privacy)/info/lfs.locksverify false
Uploading LFS objects:   0% (0/48), 0 B | 0 B/s, done.
batch response: Post "(omitted for privacy)/info/lfs/objects/batch": x509: certificate is valid for www.git.(omitted for privacy), not git.(omitted for privacy)
error: failed to push some refs to '(omitted for privacy)'
Completed with errors, see above.

I solved it by changing

external_url 'https://git.****

to be

external_url 'https://www.git.****

in gitlab.rb and reconfiguring.

But why did this need to be changed?