13 lines
355 B
Nix
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
|
|
'';
|
|
};
|
|
}
|