whoops forgot !!

This commit is contained in:
jacekpoz 2024-05-21 00:58:12 +02:00
parent df7197d332
commit 979f370ab4
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8
3 changed files with 3 additions and 18 deletions

View file

@ -4,7 +4,6 @@ _: {
./configuration.nix
./hardware-configuration.nix
./jacekpoz.pl.nix
./newjacekpoz.pl.nix
./profile.nix
./programs.nix
./system.nix

View file

@ -1,17 +1,13 @@
{
pkgs,
...
}: {
_: {
services.caddy = {
enable = true;
virtualHosts."jacekpoz.pl".extraConfig = ''
@old not path /new /new/* /~raf /~raf/*
root @old ${ pkgs.callPackage ./jacekpoz.pl { } }
root * /srv/web/jacekpoz.pl
file_server
'';
virtualHosts."jpoz.pl".extraConfig = ''
redir / https://jacekpoz.pl
redir /git https://jacekpoz.pl/posts/git-workflow
redir /git https://jacekpoz.pl/posts/git-workflow.html
'';
};
}

View file

@ -1,10 +0,0 @@
_: {
services.caddy = {
enable = true;
virtualHosts."jacekpoz.pl".extraConfig = ''
@new path /new /new/* /~raf /~raf/*
root @new /srv/web/jacekpoz.pl
file_server
'';
};
}