mirror of
https://github.com/adrlau/nix-dotfiles.git
synced 2024-12-22 18:57:29 +01:00
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;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
#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/stableDiffusion.nix
|
||||
../../services/rss.nix
|
||||
../../services/shiori.nix
|
||||
];
|
||||
|
||||
# Bootloader.
|
||||
|
7
services/shiori.nix
Normal file
7
services/shiori.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
|
||||
services.shiori.enable = true;
|
||||
services.shiori.port = 8082;
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user