[uWSGI] gzip transformation + http routing

Guido N. guido.notari at gmail.com
Thu Apr 23 14:32:54 CEST 2015

Is it possible to "chain" a gzip transformation and an http routing
I'm trying this simple snippet:

plugin = router_http,router_redirect,transformation_gzip
route-if-not = equal:${HTTPS};on redirect-permanent:https://${HTTP_HOST}${REQUEST_URI}
response-route-if = contains:${HTTP_ACCEPT_ENCODING};gzip gzip:

route-run = http:

offload-threads = 2

On port 8169 lives the program we're proxing to..

I see no indication of gzip encoding on the response.


More information about the uWSGI mailing list