whoops forgot !!
This commit is contained in:
parent
df7197d332
commit
979f370ab4
3 changed files with 3 additions and 18 deletions
|
@ -4,7 +4,6 @@ _: {
|
|||
./configuration.nix
|
||||
./hardware-configuration.nix
|
||||
./jacekpoz.pl.nix
|
||||
./newjacekpoz.pl.nix
|
||||
./profile.nix
|
||||
./programs.nix
|
||||
./system.nix
|
||||
|
|
|
@ -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
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue