containers/diamond: only listen on local addresses
Some checks failed
CI / Build linux-lava for x86_64-linux (push) Has been cancelled

TIL nginx will only route via amethyst if it's on local address, even if
hostname doesn't match
This commit is contained in:
Cilly Leang 2026-03-17 17:25:35 +11:00
parent 667bbd164f
commit 113a545e0e
Signed by: cilly
GPG key ID: 6500251E087653C9

View file

@ -24,6 +24,7 @@
useACMEHost = "lava.moe";
forceSSL = true;
locations."/".proxyPass = "http://[${client}]:8000";
listenAddresses = [ "10.0.0.1" "[fd0d::1]" ];
};
systemd.tmpfiles.rules = [ "d /persist/containers/${name} 755 root users" ];