Speaking of NGINX directives that can make a big difference serving files, here is how you we use it to enforce access control:
https://community.qbix.com/t/restricting-access-to-resources...
https://community.qbix.com/t/restricting-access-to-resources...
For anyone just learning about this.