fix: use upstream kiwix-server
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{ ... }:
|
{ pkgs, ... }:
|
||||||
let
|
let
|
||||||
wikiHost = "wiki.icdm.lan";
|
wikiHost = "wiki.icdm.lan";
|
||||||
kiwixport = 8080;
|
kiwixport = 8080;
|
||||||
@@ -7,7 +7,9 @@ in
|
|||||||
services.kiwix-serve = {
|
services.kiwix-serve = {
|
||||||
enable = true;
|
enable = true;
|
||||||
port = kiwixport;
|
port = kiwixport;
|
||||||
path = "/srv/zims/*.zim";
|
library = {
|
||||||
|
inherit (pkgs) zim;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
greg.proxies."${wikiHost}".target = "http://localhost:${toString kiwixport}";
|
greg.proxies."${wikiHost}".target = "http://localhost:${toString kiwixport}";
|
||||||
|
|||||||
Reference in New Issue
Block a user