niksos/hosts/chmura/jacekpoz.pl.nix

18 lines
444 B
Nix
Raw Normal View History

2023-11-25 17:12:09 +01:00
{
pkgs,
...
}: {
services.caddy = {
enable = true;
virtualHosts."jacekpoz.pl".extraConfig = ''
@old not path /new /new/* /~raf /~raf/*
root @old ${ pkgs.callPackage ./jacekpoz.pl { } }
2023-11-25 17:12:09 +01:00
file_server
'';
virtualHosts."jpoz.pl".extraConfig = ''
redir / https://jacekpoz.pl
redir /git https://jacekpoz.pl/posts/git-workflow
'';
};
}