Nginx reverse proxy enforce non gzipped content encoding
up vote
0
down vote
favorite
Ok so I'm currently developing a new framework for a legacy service we have (and don't have control over). I'm using nginx to reverse proxy my requests and modify the source to fetch some data. Now the issue I'm getting is that the legacy service server keep sending me gzipped content, not allowing me to modify the source of the response.
I've got this in my nginx configuration files:
proxy_set_header Accept "";
proxy_set_header Accept-Encoding "";
proxy_pass ########;
However, when I try to access the site, here are the response headers I see:
Content-Encoding: gzip
Vary: Accept-Encoding,User-Agent,#######
I'm not sure what I'm doing wrong.. I've done this(the exact same conf) for countless other services, but I'm stuck with this one..
nginx gzip reverse-proxy nginx-reverse-proxy
add a comment |
up vote
0
down vote
favorite
Ok so I'm currently developing a new framework for a legacy service we have (and don't have control over). I'm using nginx to reverse proxy my requests and modify the source to fetch some data. Now the issue I'm getting is that the legacy service server keep sending me gzipped content, not allowing me to modify the source of the response.
I've got this in my nginx configuration files:
proxy_set_header Accept "";
proxy_set_header Accept-Encoding "";
proxy_pass ########;
However, when I try to access the site, here are the response headers I see:
Content-Encoding: gzip
Vary: Accept-Encoding,User-Agent,#######
I'm not sure what I'm doing wrong.. I've done this(the exact same conf) for countless other services, but I'm stuck with this one..
nginx gzip reverse-proxy nginx-reverse-proxy
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Ok so I'm currently developing a new framework for a legacy service we have (and don't have control over). I'm using nginx to reverse proxy my requests and modify the source to fetch some data. Now the issue I'm getting is that the legacy service server keep sending me gzipped content, not allowing me to modify the source of the response.
I've got this in my nginx configuration files:
proxy_set_header Accept "";
proxy_set_header Accept-Encoding "";
proxy_pass ########;
However, when I try to access the site, here are the response headers I see:
Content-Encoding: gzip
Vary: Accept-Encoding,User-Agent,#######
I'm not sure what I'm doing wrong.. I've done this(the exact same conf) for countless other services, but I'm stuck with this one..
nginx gzip reverse-proxy nginx-reverse-proxy
Ok so I'm currently developing a new framework for a legacy service we have (and don't have control over). I'm using nginx to reverse proxy my requests and modify the source to fetch some data. Now the issue I'm getting is that the legacy service server keep sending me gzipped content, not allowing me to modify the source of the response.
I've got this in my nginx configuration files:
proxy_set_header Accept "";
proxy_set_header Accept-Encoding "";
proxy_pass ########;
However, when I try to access the site, here are the response headers I see:
Content-Encoding: gzip
Vary: Accept-Encoding,User-Agent,#######
I'm not sure what I'm doing wrong.. I've done this(the exact same conf) for countless other services, but I'm stuck with this one..
nginx gzip reverse-proxy nginx-reverse-proxy
nginx gzip reverse-proxy nginx-reverse-proxy
asked Nov 10 at 22:59
geekybedouin
4361822
4361822
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53244251%2fnginx-reverse-proxy-enforce-non-gzipped-content-encoding%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown