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
|
let
|
||||||
importWebsites = expr: import expr {
|
importWebsites = expr: import expr {
|
||||||
|
@ -25,7 +25,7 @@ in {
|
||||||
mode = "external";
|
mode = "external";
|
||||||
definition = {
|
definition = {
|
||||||
name = "static-lb";
|
name = "static-lb";
|
||||||
address = lib.toLower "${config.networking.hostName}.${config.networking.domain}";
|
address = depot.reflection.interfaces.primary.addrPublic;
|
||||||
port = 443;
|
port = 443;
|
||||||
checks = lib.singleton {
|
checks = lib.singleton {
|
||||||
interval = "60s";
|
interval = "60s";
|
||||||
|
|
Loading…
Reference in a new issue