Chapter 8
[ 199 ]
The http filename is the full path to the file to be sent:
"/data/images/ImageFile.jpg"
The static module receives the file descriptor for this file:
15
Any temporary content in the body of the response is no longer needed:
body
Once all information about the file is known, NGINX can construct the full
response headers:
Server: nginx/
Date:
Content-Type:
Content-Length:
Last-Modified:
Connection: keep-alive
Accept-Ranges: bytes
The next phase involves any transformations to be performed on the file due to
output filters that may be active:
filter: l:0 f:0 s:219
filter "/ImageFile.jpg?file=ImageFile.jpg"
filter: "/ImageFile.jpg?file=ImageFile.jpg"
filter "/ImageFile.jpg?file=ImageFile.jpg" 00007FFF30383040
filter: l:1 f:0 s:480317