Redis install error

I am using a local apt-mirror repository in which I have placed the URL to .
create source.list on my person local machine deb https://local.repo/ buster main or deb [arch=amd64] https://local.repo/ buster main i do apt update, but :

 http://local.repo/ buster/main amd64 Packages [22.4 kB]
Ign:7 http://local.repo/ buster/main all Packages
Error:7 http://local.repo/ buster/main all Packages
  404 Not Found [IP: 80]
Reading Package Lists... Done
E: Failed to get http://local.repo/ 404 Not Found [IP: 80]
E: Some index files could not be downloaded. They were ignored or older versions were used instead.```

for some reason apt is looking for the url `/deb/dists/buster/main/binary-all` , but the repository uses `deb/dists/buster/main/binary-amd64/`

I can’t understand what the problem is and why the replacement is happening, what should I do?