Answer the question
In order to leave comments, you need to log in
On-the-fly file decompression in NGINX?
Good afternoon.
There is a server, there are a lot of photos on it and they are in one folder. For some reason, it was decided to pack this large pile into one file.
Now it's just a file collected from all the photos in order, and the lengths and offsets are stored in the database. Gives the contents of the php script.
Now I want NGINX to do this. It is possible to repack files into any popular format (zip without compression, for example). Although the zip is probably not suitable, because. You can search for a file in an archive only by brute force.
The question is: Can NGINX be configured to serve a single file from an archive?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question