The advice from tflidd , marked as solution, works, ie use “external storage” app and “local” storage.
In order to have www-data able to access it, the simplest is to use ACL and setfacl to allow www-data read and write access to this folder. I just set it up and it is a one shot usage.
Thanks for all answers
I can now de-duplicate my files