containers/beryllium: add nginx configuration

This commit is contained in:
Cilly Leang 2026-03-15 22:33:23 +11:00
parent 52a3e8557e
commit c42fdb7940
Signed by: cilly
GPG key ID: 6500251E087653C9
2 changed files with 9 additions and 0 deletions

View file

@ -17,6 +17,13 @@
internalInterfaces = [ "ve-+" ];
};
services.nginx.virtualHosts."beryllium.lava.moe" = {
useACMEHost = "lava.moe";
forceSSL = true;
locations."/".proxyPass = "http://[fd0d:1::${subnet}:2]:6167";
listenAddresses = [ "10.0.0.1" "[fd0d::1]" ];
};
systemd.tmpfiles.rules = [ "d /persist/containers/${name} 755 root users" ];
containers.${name} = {
autoStart = true;