How to force nginx do not remove Accept-Encoding: gzip?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
81 views
There is a simple circuit
client (Accept-Encoding: gzip) <-> nginx <-> iis

In the place in bold is why it arrives from IIS traffic without compression. And if you make the request directly to IIS, then the IIS response tight. In the nginx configuration:
gzip on;
gzip_proxied any;
gzip_types text/plain text/xml text/css application/x-javascript application/json text/javascript application/xml;
gzip_vary on;
"gzip_disable" "msie6";
gzip_http_version 1.1;


I have the feeling that if you enable gzip on Nginx side - cut header accept-encoding: gzip in the request that goes to iis. How to make sure that the answer was pressed on the iis side?
by | 81 views

1 Answer

0 like 0 dislike
Understood. nginx banging on http1.0. iis is not able to press on this version. Prescribed proxy_http_version 1.1 - it worked
by

Related questions

0 like 0 dislike
1 answer
asked May 3, 2019 by WhatIsHTML
0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
asked Mar 25, 2019 by Fedcomp
0 like 0 dislike
2 answers
asked Mar 22, 2019 by AlexWinner
0 like 0 dislike
2 answers
110,608 questions
257,186 answers
0 comments
38,662 users