Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reminder: if requesting URL from upstream server, make sure Accept-Encoding: header is known #21

Closed
bmo opened this issue Sep 25, 2013 · 1 comment

Comments

@bmo
Copy link

bmo commented Sep 25, 2013

mod_zip doesn't perform well when the upstream server(s) return content that is compressed.

Here's what you DO NOT WANT to be sending to your upstream: Accept-Encoding: gzip,deflate,sdch

To avoid this, in your upstream subrequest, set the header in a location using:
proxy_set_header Accept-Encoding "";

@evanmiller
Copy link
Owner

Thanks, I've added a note to the README: d63a847

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants