redirect based on file content

itpp2012 nginx-forum at
Mon Jul 16 16:36:09 UTC 2018

This can be done with Lua but each disk access is a blocking call to nginx,
your design should include caching of such calls (access disk once every 100
calls or after 60 seconds).

Posted at Nginx Forum:,280529,280533#msg-280533

More information about the nginx mailing list