I don’t know what you’re trying to solve… but maybe you can just send a range request relative to the end,
without any custom module.
For example, ‘Range: bytes=-1024’ will return the last 1k of the resource.
Eran
From: nginx-devel <nginx-devel-bounces@nginx.org> On Behalf Of Maksim Yevmenkin
Sent: Thursday, February 13, 2020 4:49 AM
To: nginx-devel@nginx.org
Subject: Nginx tail module
Hello
What would be the best way to write a Nginx module that would essentially tail a file?
Thanks
Max
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel