HTTP cloning doesn't work after upgrade


(yup, I did some reaserch on my own but didn’t succeeded)

I’ve updated my Gitlab CE installation from 10.2.1 to 11.2.3, and it generally works, but some features are unfortunately missing. The most missing feature is broken HTTP git functionality, - each time someone tries to clone the repo via HTTP he gets "fatal: repository ‘http://hostname.tld/namespace/repo.git/’ not found, but in the same time SSH cloning works fine.

I’m sure this is related to the fact that I’m getting 404 on the “http://hostname.tld/namespace/repo.git/info/refs?service=git-upload-pack requests” (and the cloud Gitlab answers with 200 and an non-empty answer). I’ve tried to debug this, but there’s no errors in the logs, furthermore it seems like gitlab thinks everything is fine (plus he thinks he served 200, but the browser clearly shows 404 in the console):

Started GET "/namespace/repo.git/info/refs?service=git-upload-pack" for at 2018-09-10 21:51:27 +0500
Processing by Projects::GitHttpController#info_refs as HTML
Parameters: {"service"=>"git-upload-pack", "namespace_id"=>"namespace", "project_id"=>"repo.git"}
Completed 200 OK in 458ms (Views: 0.5ms | ActiveRecord: 14.3ms)
Completed 200 OK in 357ms (Views: 1.3ms | ActiveRecord: 37.9ms)

Could someone point me at the right direction please, because I’m stuck.