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 <[email protected]> On Behalf Of Maksim Yevmenkin
Sent: Thursday, February 13, 2020 4:49 AM
To: [email protected]
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
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to