cluster/services/cdn-shield: init
This commit is contained in:
parent
0fef0fca66
commit
3231b65a26
1 changed files with 12 additions and 0 deletions
12
cluster/services/cdn-shield/default.nix
Normal file
12
cluster/services/cdn-shield/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{ depot, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
dns.records = let
|
||||||
|
cdnShieldAddr = [ depot.hours.VEGAS.interfaces.primary.addrPublic ];
|
||||||
|
in {
|
||||||
|
"fonts-googleapis-com.cdn-shield".target = cdnShieldAddr;
|
||||||
|
"fonts-gstatic-com.cdn-shield".target = cdnShieldAddr;
|
||||||
|
"cdnjs-cloudflare-com.cdn-shield".target = cdnShieldAddr;
|
||||||
|
"wttr-in.cdn-shield".target = cdnShieldAddr;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue