Closed abudden closed 7 years ago
I have also had this problem. There is a more laborious workaround where you proxy each zim:
location /wiktionary_en_simple_all_2016-05 { proxy_set_header X-Forwarded-Host $host:$server_port; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://127.0.0.1:3000/wiktionary_en_simple_all_2016-05/; }
same principal works in apache
This issue was moved to kiwix/kiwix-tools#31
If kiwix is installed behind a proxy (e.g. nginx) with a non-root path, none of the links or stylesheets work as every URL is specified as absolute (e.g.
/skin/jquery-ui/external/jquery/jquery.js
). Therefore if you have nginx configured to serve kiwix at /kiwix, the links resolve to/skin/...
instead of/kiwix/skin/...
and nothing works.