Comment on Nginx: try_files Is Evil Too (2024)Comments−EGreg1ySpeaking 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...−mickeyp1yWhy not just use the `secure_link' feature? It's designed for this.−EGreg1yX-Accel-Redirect is better, it allows us to use any custom logic in our php script to calculate access to resources−rudasn1yhttps://www.f5.com/company/blog/nginx/securing-urls-secure-l...For anyone just learning about this.
Comments
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...
Why not just use the `secure_link' feature? It's designed for this.
X-Accel-Redirect is better, it allows us to use any custom logic in our php script to calculate access to resources
https://www.f5.com/company/blog/nginx/securing-urls-secure-l...
For anyone just learning about this.