Compare commits

...

1 Commits

Author SHA1 Message Date
Adrian Gunnar Lauterer 898e678e8e added shiori bookmark and archiver 2024-05-23 21:02:27 +02:00
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."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;
}