Hello,
I'm trying to configure uWSGI [uWSGI 2.0.10 (64bit)] to gzip the content of
a Django website. It works for contents generated by Django, but it doesn't
for static files (using --static-map).
I know that it's possible to generate *gz at build time and let uwsgi serve
them, but we're using cloudfront with far expire headers. Static resources
are only asked once from Cloudfront and I'd like to avoid adding complexity
to the build step.
A simple configuration to test the issue:
uwsgi --http :8000 --static-map=/static=/tmp/
--response-route-if='contains:${HTTP_ACCEPT_ENCODING};gzip gzip:'
Is this a known issue? Is there a workaround?
Thanks
--
Davide Setti
code: http://github.com/vad
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi