niksos/hosts/chmura/jacekpoz.pl.nix

14 lines
355 B
Nix
Raw Normal View History

2024-05-21 00:58:12 +02:00
_: {
2023-11-25 17:12:09 +01:00
services.caddy = {
enable = true;
virtualHosts."jacekpoz.pl".extraConfig = ''
2024-05-21 00:58:12 +02:00
root * /srv/web/jacekpoz.pl
2023-11-25 17:12:09 +01:00
file_server
'';
virtualHosts."jpoz.pl".extraConfig = ''
redir / https://jacekpoz.pl
2024-05-21 00:58:12 +02:00
redir /git https://jacekpoz.pl/posts/git-workflow.html
2023-11-25 17:12:09 +01:00
'';
};
}