How to Enbale gzip for Proxied App in NginxSep 27th 2021Words: 91
Problem
I have added the gzip on; in the nginx configuration file, but all response from apps behind proxy_pass are not gzipped, wasting precious bandwidth of the server.
Solution
Add the following content to the server block (or global):