Compare commits
No commits in common. "dd6a8f9e1cab9c58a9129c407d250b2cfee7bf1e" and "6372c2bc04ef9b3e122da35fadfed1b2979aacac" have entirely different histories.
dd6a8f9e1c
...
6372c2bc04
|
@ -1,31 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; {
|
||||
services = {
|
||||
nginx = {
|
||||
virtualHosts."calibre.posixlycorrect.com" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
extraConfig = ''
|
||||
proxy_headers_hash_max_size 512;
|
||||
proxy_headers_hash_bucket_size 128;
|
||||
'';
|
||||
locations."/" = {
|
||||
proxyPass = "http://[::1]:8083";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
calibre-web = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
options = {
|
||||
enableBookUploading = true;
|
||||
calibreLibrary = "/var/lib/calibre-web/calibre_library";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -15,7 +15,5 @@ with lib; {
|
|||
./paperless.nix
|
||||
./trilium.nix
|
||||
./syncthing.nix
|
||||
./shiori.nix
|
||||
./calibre-web.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,29 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; {
|
||||
services = {
|
||||
nginx = {
|
||||
virtualHosts."bookmarks.posixlycorrect.com" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
extraConfig = ''
|
||||
proxy_headers_hash_max_size 512;
|
||||
proxy_headers_hash_bucket_size 128;
|
||||
'';
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:8089";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
shiori = {
|
||||
enable = true;
|
||||
address = "127.0.0.1";
|
||||
port = 8089;
|
||||
environmentFile = "/var/trust/shiori/env";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue