Welcome! Log In Create A New Profile

Advanced

Reading from a named pipe / fifo

Max
January 20, 2012 04:38PM
Hi,

how could I configure (or change) nginx to serve the output
from a named pipe / fifo (that was created with mknod or mkfifo)
as if it were a regular HTML file?

Let's say I have a fifo named fifo.html that gets input from an
application. This input will sometimes be read locally by another
application and sometimes remotely through nginx, but once the
information is read, it should be considered consumed (no longer
available).

Can the current version of nginx be configured to provide this
feature?

Limiting the number of times a certain file can be served would
also be an acceptable solution.

If this isn't possible, could you point me in the right direction
so I could change the source code or write a module that would
allow nginx to serve output from named pipes / fifos?

Thank you,
Max
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Reading from a named pipe / fifo

Max January 20, 2012 04:38PM

Re: Reading from a named pipe / fifo

Brian Akins January 20, 2012 05:22PM

Re[2]: Reading from a named pipe / fifo

Max January 21, 2012 11:30AM

Re: Re[2]: Reading from a named pipe / fifo

takigama January 21, 2012 12:40PM

Re[4]: Reading from a named pipe / fifo

Max January 21, 2012 08:56PM

Re[4]: Reading from a named pipe / fifo (corrected)

Max January 21, 2012 08:58PM

Re[4]: Reading from a named pipe / fifo (final version)

Max January 21, 2012 09:06PM

Re: Reading from a named pipe / fifo (final version)

Brian Akins January 21, 2012 09:28PM

Re[2]: Reading from a named pipe / fifo (final version)

Max January 21, 2012 10:38PM

Re: Reading from a named pipe / fifo (final version)

Brian Akins January 22, 2012 03:52PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 317
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready