[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
action?
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:127.0.0.1:8169

offload-threads = 2

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

I see no indication of gzip encoding on the response.

cheers
Guido



More information about the uWSGI mailing list