Video footage unable to play back

Hey All,

Running NC in a container with MariaDB and reverse proxy (letsencrypt). I store a ton of pictures and videos (around 600G all on HDD on unRaid). That being said, my video playback on nextcloud is basically unusable. When I click on a 4K video to playback, it will load forever and it will eventually return a 504 bad gateway error and basically crash the container. The server should be able to handle this without an issue in all honesty. I have tried configuring NGINX for longer timeouts, continues to throw bad gateways. I have also tried an app in NC called preview generator. Hasn’t done any good.

Haven’t seen this issue too much searching around. What I have found, I have tried and still no positive results.