Skip to content

Comment on Nginx: try_files Is Evil Too (2024)

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

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.