Download problem

Hi i have installed nextclaud on my freenas server using this user guide, everything works fine but i have one big problem and i don’t know how to fix it. If I share a download link to the outside (pictures with a total size of 4GB in the link) the download just stops at some point. I ran an experiment through a VPN server and found that the download takes exactly 1 minute after it is terminated. Of course, depending on the speed of the VPN server, it takes a minute to download the data, and after 1 minute the download stops. For the local network, the same situation. Still noticed if I want to download any file from nextcloud (not via the sharing link but directly through my account) the download takes exactly 1 min and everything stops. Please help me.freenas%20server