I am in the process of changing accommodation. The site I am in charge of is designed in VueJS / Nuxt and Laravel. Before, I was at CleverCloud and I try to go to OVH. Everything works except some of the images. It is not me who made the beginning of the site and I admit that I do not understand how it is possible … There are many images (eg user avatars) which are saved in files WITHOUT extension and therefore in the database the avatar address is also without extension.
I haven't changed anything and at CleverCloud it works very well, the images are displayed well with a link like: (with a dot at the end)
https://site/storage/truc/image_600ab34a2e01d.
The storage folder is in the Laravel public folder. Except that at OVH, it sends me a 404 even though the file does exist! And when I have images with extension, for example:
https://site/storage/truc/image_600ab34a2e01d.jpg
It works without problem. So I deduce that the problem comes from "without extension" ?
The mystery is also why some are with and others without extension … but at CleverCloud it works very well so I don't see why it doesn't work …
How can I do on OVH ?
For example, that picture works : (it's in CleverCloud, the same doesn't work on OVH) https:// bopreprod. okgenie. fr/storage/wishes/image_60a6203e73cf7.
Thank you