mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 12:51:34 +01:00
caddy: Add support for web services over nebula
This commit is contained in:
parent
b7db8d2fd8
commit
116b4437fe
3 changed files with 84 additions and 4 deletions
|
|
@ -5,6 +5,9 @@
|
|||
{
|
||||
isTailscaleDomain = domain: domain |> lib.hasSuffix ".ts.net";
|
||||
|
||||
isPrivateDomain =
|
||||
domain: domain |> lib.hasSuffix ".splitleaf.de";
|
||||
|
||||
subdomainOf = domain: domain |> lib.splitString "." |> lib.head;
|
||||
|
||||
rootDomainOf = domain: domain |> lib.splitString "." |> lib.tail |> lib.concatStringsSep ".";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue