gzip compression doesn't work in nginx reverse proxy setup

Solution 1:

To answer my own question: The problem seemed to be that "nginx reload" didn't cause the setting to take effect. Issuing a full "nginx restart" fixed it.