A
A
Alexander Lozovyuk2010-11-02 15:19:06
Nginx
Alexander Lozovyuk, 2010-11-02 15:19:06

Nginx as a gzip proxy?

How to configure Nginx for the following task:
I have a server that can only accept non-gzip responses. There is a remote resource with which it is necessary to communicate and use gzip traffic (compression is supported by a remote resource). From the application, I make a request to the local address of Nginx, which, in turn, makes a request to the remote server, receives a response, decompresses it and gives it to my application.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2010-11-02
@bondbig

you don't need nginx. This is a reverse proxy. You need a direct proxy. Squid will do.

K
kekekeks, 2010-11-02
@kekekeks

In nginx gzip off; do it, he knows how to unclench the answers from the server, in theory. You can generally write your proxy on your knee, it's not so difficult.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question