duckduckgo/duckduckgo — pull request #71 by jagtalon (2014-05-19 01:44:06+00:00)
Title: Rewrite: Add additional `proxy_set_header`s to strip

Adding `proxy_set_header Accept-Encoding` is not enough because it overrides the other `proxy_set_header`s. From http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_set_header it says, "http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_set_header". Adding a file that contains internal `proxy_set_header`s (which strips `User-Agent`, `Cookies`, etc.) fixes this.