Add gzip_proxied any to enable compression behind reverse proxies
GCP HTTP(S) LB adds Via header to forwarded requests, causing nginx to treat them as proxied. Without gzip_proxied, nginx skips dynamic gzip for these requests, resulting in uncompressed JS/CSS responses. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Reference in New Issue
Block a user