niksos/hosts/chmura/jacekpoz.pl.nix
2024-05-21 00:58:12 +02:00

13 lines
355 B
Nix

_: {
services.caddy = {
enable = true;
virtualHosts."jacekpoz.pl".extraConfig = ''
root * /srv/web/jacekpoz.pl
file_server
'';
virtualHosts."jpoz.pl".extraConfig = ''
redir / https://jacekpoz.pl
redir /git https://jacekpoz.pl/posts/git-workflow.html
'';
};
}