Прописал в конфиге nginx
gzip on;
gzip_disable "msie6";
gzip_vary on;
gzip_proxied any;
gzip_comp_level 9;
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript application/msword application/x-font-ttf application/rtf;
Формат лога
log_format check_if_gzipped '$remote_addr - $remote_user [$time_local] "$request" $status $sent_http_content_type "$gzip_ratio" $body_bytes_sent "$http_referer" "$http_user_agent"';
access_log /var/log/nginx/access_proxied.log check_if_gzipped;
В логе имеем
192.168.6.1 - - [22/Jun/2015:17:06:55 +0300] "GET /ords/f?p=120:380:566964001675974:APPLICATION_PROCESS=Print_Doc_Sert:::F_DOC_ID,P380_LANG,F_DOCI_ID:304022,UKR, HTTP/1.1" 200 application/msword; name= "-" 19330071 "mysite.site.local/ords/f?p=120:380:566964001675974..." "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0"
По ходу сжимать даже не пытались