nuc
This commit is contained in:
@@ -34,7 +34,10 @@ let
|
|||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
inherit (cfg) port;
|
inherit (cfg) port;
|
||||||
trustedProxies = [ config.${namespace}.network.ipv4.address ];
|
trustedProxies = [
|
||||||
|
config.${namespace}.network.ipv4.address
|
||||||
|
"10.0.1.4"
|
||||||
|
];
|
||||||
serverFiles = "${cfg.configDir}/${name}/server-files";
|
serverFiles = "${cfg.configDir}/${name}/server-files";
|
||||||
userFiles = "${cfg.configDir}/${name}/user-files";
|
userFiles = "${cfg.configDir}/${name}/user-files";
|
||||||
dataDir = "${cfg.configDir}/${name}";
|
dataDir = "${cfg.configDir}/${name}";
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ in
|
|||||||
};
|
};
|
||||||
actual = {
|
actual = {
|
||||||
subdomain = "actual";
|
subdomain = "actual";
|
||||||
upstream = "http://10.0.0.4:${toString net.ports.nas.actual}";
|
upstream = "http://10.0.1.4:${toString net.ports.nas.actual}";
|
||||||
};
|
};
|
||||||
# hass is currently proxied by the NAS Caddy (modules/nixos/services/caddy).
|
# hass is currently proxied by the NAS Caddy (modules/nixos/services/caddy).
|
||||||
# To migrate it here, remove the @hass block from that module and add:
|
# To migrate it here, remove the @hass block from that module and add:
|
||||||
|
|||||||
Reference in New Issue
Block a user