box: enable calibre web
This commit is contained in:
parent
8359337940
commit
69f56d851c
@ -282,6 +282,12 @@ in {
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
calibre-web = {
|
||||
enable = true;
|
||||
dataDir = "/media/books";
|
||||
options = { enableBookUploading = true; };
|
||||
};
|
||||
|
||||
grafana = {
|
||||
enable = true;
|
||||
domain = "graph.tapenet.org";
|
||||
@ -663,6 +669,21 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
"books.bold.daemon" = {
|
||||
#sslCertificateKey = "${config.sops.secrets.reddit_key.path}";
|
||||
#sslCertificate = "${config.sops.secrets.reddit_cert.path}";
|
||||
#forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass =
|
||||
"http://localhost:${toString config.services.calibre-web.port}";
|
||||
proxyWebsockets = true;
|
||||
extraConfig = ''
|
||||
${httpAllow}
|
||||
deny all;
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
"sonarr.bold.daemon" = {
|
||||
sslCertificateKey = "${config.sops.secrets.sonarr_key.path}";
|
||||
sslCertificate = "${config.sops.secrets.sonarr_cert.path}";
|
||||
|
Loading…
Reference in New Issue
Block a user