cluster/services/websites: no DNS indirection

This commit is contained in:
Max Headroom 2023-06-02 21:05:14 +02:00
parent d264751a9f
commit d308f80ab5

View file

@ -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";