added shiori bookmark and archiver

This commit is contained in:
Adrian Gunnar Lauterer 2024-05-23 21:02:27 +02:00 committed by Adrian G L
parent bd9a804099
commit 59127d9452
3 changed files with 23 additions and 1 deletions

View File

@ -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;
};
}; };
} }

View File

@ -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.

7
services/shiori.nix Normal file
View File

@ -0,0 +1,7 @@
{ config, pkgs, lib, ... }:
{
services.shiori.enable = true;
services.shiori.port = 8082;
}