niksos/hosts/chmura/jacekpoz.pl.nix
2023-11-25 17:12:09 +01:00

16 lines
389 B
Nix

{
pkgs,
...
}: {
services.caddy = {
enable = true;
virtualHosts."jacekpoz.pl".extraConfig = ''
root * ${ pkgs.callPackage ./jacekpoz.pl { } }
file_server
'';
virtualHosts."jpoz.pl".extraConfig = ''
redir / https://jacekpoz.pl
redir /git https://jacekpoz.pl/posts/git-workflow
'';
};
}