I need to conditionally enable gzip, based on a variable. When I try to use an "if" statement, it doesn't work, nginx complains I can't use "gzip" inside of "if". Looking at the manual, I see gzip has the following context allowed: "context: http, server, location, if (x) location" What does "if (x) location" mean? I couldn't find an exby cx - Nginx Mailing List - English