mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
caddy: Add fallback handler to wildcard domains
This commit is contained in:
parent
e383ee383b
commit
65284294b1
1 changed files with 6 additions and 1 deletions
|
|
@ -140,7 +140,12 @@ in
|
|||
}
|
||||
'';
|
||||
in
|
||||
values |> lib.map (value: mkHostConfig value) |> lib.concatLines;
|
||||
(values |> lib.map (value: mkHostConfig value) |> lib.concatLines)
|
||||
+ ''
|
||||
handle {
|
||||
respond 404
|
||||
}
|
||||
'';
|
||||
};
|
||||
};
|
||||
in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue