added shiori bookmark and archiver
This commit is contained in:
parent
bd9a804099
commit
59127d9452
|
@ -61,5 +61,19 @@
|
||||||
#basicAuthFile = config.sops.secrets."nginx/defaultpass".path;
|
#basicAuthFile = config.sops.secrets."nginx/defaultpass".path;
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
|
||||||
|
#virtualHosts."shiori.lauterer.it" = config.services.nginx.virtualHosts."archive.lauterer.it";
|
||||||
|
#virtualHosts."pocket.lauterer.it" = config.services.nginx.virtualHosts."archive.lauterer.it";
|
||||||
|
#virtualHosts."bookmarks.lauterer.it" = config.services.nginx.virtualHosts."archive.lauterer.it";
|
||||||
|
virtualHosts."archive.lauterer.it" = {
|
||||||
|
forceSSL = true;
|
||||||
|
useACMEHost = config.networking.domain;
|
||||||
|
locations."/" = {
|
||||||
|
proxyWebsockets = true;
|
||||||
|
proxyPass = "http://100.84.215.84:8082";
|
||||||
|
};
|
||||||
|
#basicAuthFile = config.sops.secrets."nginx/defaultpass".path;
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
../../services/mc.nix
|
../../services/mc.nix
|
||||||
#../../services/stableDiffusion.nix
|
#../../services/stableDiffusion.nix
|
||||||
../../services/rss.nix
|
../../services/rss.nix
|
||||||
|
../../services/shiori.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
{ config, pkgs, lib, ... }:
|
||||||
|
{
|
||||||
|
|
||||||
|
services.shiori.enable = true;
|
||||||
|
services.shiori.port = 8082;
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue