containers/amethyst: expose under local nginx
This commit is contained in:
parent
dfd00aad38
commit
a9e9ae41ac
2 changed files with 5 additions and 68 deletions
|
|
@ -17,6 +17,11 @@
|
|||
internalInterfaces = [ "ve-+" ];
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."amethyst.local.lava.moe" = {
|
||||
locations."/".proxyPass = "http://10.30.${subnet}.2:9091";
|
||||
listenAddresses = [ "10.0.0.0/24" "fd0d::/16" ];
|
||||
};
|
||||
|
||||
systemd.tmpfiles.rules = [ "d /persist/containers/${name} 755 root users" ];
|
||||
containers.${name} = {
|
||||
autoStart = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue