Welcome! Log In Create A New Profile


gzip recompression on nginx in reverse proxy mode

July 14, 2022 09:24AM
Faced with strange behavior of nginx in reverse proxy mode. There is web server 1 - the original source. web server 2 on nginx caching data in reverse proxy mode between web server 1 and users.
Web server 1 delivers content in maximum gzip compression:
gzip compressed data, max compression, from Unix
Web server 2 delivers content not in maximum compression:
gzip compressed data, max speed, from Unix, original size modulo 2^32 328219
It looks like web server 2 recompresses gzip, but gzip compression is disabled in the nginx config with the following directives:
gzip_proxied off;
gzip_static off;
gzip off;
May be somebody has experienced similar behavior?
Expected behavior: delivery content to the client from cache that we get from the original web server 1 (already in maximum compression)
Subject Author Posted

gzip recompression on nginx in reverse proxy mode

cw318 July 14, 2022 09:24AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 64
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready