From f0f32b014bdd999e084e9eb9ca0c1dbf567c093e Mon Sep 17 00:00:00 2001 From: LoveIsGrief Date: Wed, 27 Feb 2019 15:01:48 +0100 Subject: [PATCH] i2p: Disable compression on /i2p/ As soon as a response has to be chunked, something goes wrong and the response cannot be decoded. freedombox-team/plinth#1428 Request: I2P support Reviewed-by: Sunil Mohan Adapa --- data/etc/apache2/conf-available/i2p-plinth.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/etc/apache2/conf-available/i2p-plinth.conf b/data/etc/apache2/conf-available/i2p-plinth.conf index 3aa37a579..3262c2076 100644 --- a/data/etc/apache2/conf-available/i2p-plinth.conf +++ b/data/etc/apache2/conf-available/i2p-plinth.conf @@ -8,6 +8,10 @@ ## mod_proxy_html ## + # Disable compression + # As soon as it has to be chunked, it doesn't work + RequestHeader unset Accept-Encoding + ProxyPass http://localhost:7657 ProxyPassReverse http://localhost:7657