update caddy paths for new site and ~raf
This commit is contained in:
parent
5786a83094
commit
6ed4206fe0
2 changed files with 4 additions and 2 deletions
|
@ -5,7 +5,8 @@
|
|||
services.caddy = {
|
||||
enable = true;
|
||||
virtualHosts."jacekpoz.pl".extraConfig = ''
|
||||
root * ${ pkgs.callPackage ./jacekpoz.pl { } }
|
||||
@old not path /new /new/* /~raf /~raf/*
|
||||
root @old ${ pkgs.callPackage ./jacekpoz.pl { } }
|
||||
file_server
|
||||
'';
|
||||
virtualHosts."jpoz.pl".extraConfig = ''
|
||||
|
|
|
@ -2,7 +2,8 @@ _: {
|
|||
services.caddy = {
|
||||
enable = true;
|
||||
virtualHosts."jacekpoz.pl".extraConfig = ''
|
||||
root /new/* /srv/web/jacekpoz.pl
|
||||
@new path /new /new/* /~raf /~raf/*
|
||||
root @new /srv/web/jacekpoz.pl
|
||||
file_server
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue