Under nginx I know a option:
gzip_static on;
which allows to access the precompressed gzip file with the same name, for example,
gzip