containers/diamond: only listen on local addresses
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
55e0d25251
commit
b7665d9bd5
1 changed files with 1 additions and 0 deletions
|
|
@ -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" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue