Answer the question
In order to leave comments, you need to log in
Accepting gzip requests
Good afternoon!
It is known that nginx can compress the response for transmission to the client.
But I could not find information about the reverse situation - receiving a compressed request.
The problem is this: mobile clients transmit a lot of data, and it would be desirable before the gzip request reached the php backend, it was unzipped and transferred already in its pure form.
Answer the question
In order to leave comments, you need to log in
As far as I know, NGINX does not unpack requests with Content-Encoding: gzip ...
Apache can do this with mod_deflate, but nginx does not. By the way, a good idea for writing a module. I guess it won't be too complicated.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question