On Wed, 13 Dec 2023 02:45:54 +
J Carter wrote:
> Hello,
>
> On Tue, 12 Dec 2023 16:17:11 +0100
> Jérôme Loyet wrote:
>
> > Hello,
> >
> > I'm trying to serve some files from /proc but nginx return a 0 bytes
> > content because the file size of many files in /proc/ tree is simply 0 by
> >
Hello,
On Tue, 12 Dec 2023 16:17:11 +0100
Jérôme Loyet wrote:
> Hello,
>
> I'm trying to serve some files from /proc but nginx return a 0 bytes
> content because the file size of many files in /proc/ tree is simply 0 by
> design.
That is correct, reading Virtual File System files would require
On Tue, Dec 12, 2023 at 04:17:11PM +0100, Jérôme Loyet wrote:
Hi there,
> I'm trying to serve some files from /proc but nginx return a 0 bytes
> content because the file size of many files in /proc/ tree is simply 0 by
> design.
I suspect that you are going to have to write something to read the
Hello,
I'm trying to serve some files from /proc but nginx return a 0 bytes
content because the file size of many files in /proc/ tree is simply 0 by
design.
here is my sample conf file:
...
location = /route {
root /proc/net;
}
and the result of the corresponding curl:
> GET /route HTTP/1.1
>