Questions about proxy logging and a sanity check

mike mike503 at
Sun Apr 20 13:49:11 MSD 2008


I should be making sure that my backend/upstream servers have gzip off
and SSL off, since the nginx running as a load balancer will handle
that right?

I have defined gzip off; etc. on the upstream servers. On the nginx
proxy/load balancer server:

    gzip on;
    gzip_static on;
    gzip_proxied any;
    gzip_min_length 1100;
    gzip_comp_level 2;
    gzip_types text/plain text/html text/css application/x-javascript
text/xml application/xml application/xml+rss text/javascript;
    gzip_disable "MSIE [1-6]\.";
    gzip_vary on;

This should ensure all content outbound that is text is gzipped right?

On 4/20/08, Igor Sysoev <is at> wrote:

> No, the actual reply is from the last server.

More information about the nginx mailing list