containers/diamond: only listen on local addresses
Some checks failed
CI / Build linux-lava for x86_64-linux (push) Has been cancelled
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:
parent
667bbd164f
commit
113a545e0e
1 changed files with 1 additions and 0 deletions
|
|
@ -24,6 +24,7 @@
|
||||||
useACMEHost = "lava.moe";
|
useACMEHost = "lava.moe";
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/".proxyPass = "http://[${client}]:8000";
|
locations."/".proxyPass = "http://[${client}]:8000";
|
||||||
|
listenAddresses = [ "10.0.0.1" "[fd0d::1]" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [ "d /persist/containers/${name} 755 root users" ];
|
systemd.tmpfiles.rules = [ "d /persist/containers/${name} 755 root users" ];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue