cluster/services/websites: no DNS indirection
This commit is contained in:
parent
d264751a9f
commit
d308f80ab5
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
{ config, depot, lib, pkgs, tools, ... }:
|
||||
{ depot, lib, tools, ... }:
|
||||
|
||||
let
|
||||
importWebsites = expr: import expr {
|
||||
|
@ -25,7 +25,7 @@ in {
|
|||
mode = "external";
|
||||
definition = {
|
||||
name = "static-lb";
|
||||
address = lib.toLower "${config.networking.hostName}.${config.networking.domain}";
|
||||
address = depot.reflection.interfaces.primary.addrPublic;
|
||||
port = 443;
|
||||
checks = lib.singleton {
|
||||
interval = "60s";
|
||||
|
|
Loading…
Reference in a new issue