modularizing of vps ips

This commit is contained in:
2025-09-16 14:56:42 -06:00
parent cfca87a703
commit 17b2d98b6c
8 changed files with 29 additions and 16 deletions

View File

@@ -126,14 +126,14 @@ in
trusted_proxies = [
config.my.localhost
config.my.localhost6
config.my.routerip
"10.77.0.1" # vps
config.my.routerIp
config.my.wgVpsIp
];
trusted_domains = [
cfg.host
config.my.ips.${config.networking.hostName}
"localhost"
"cloud.rotehaare.art"
"cloud.servidos.lat"
];
overwriteprotocol = "https";
"overwrite.cli.url" = "${cfg.url}";
@@ -180,11 +180,11 @@ in
#vps
listen = [
{
addr = "10.77.0.2";
addr = config.my.wgServerIp;
port = 8081;
}
{
addr = "127.0.0.1";
addr = config.my.localhost;
port = 8081;
}
];
@@ -257,7 +257,7 @@ in
environment = {
TZ = config.my.timeZone;
domain = cfg.host;
aliasgroup1 = "cloud.servidos.lat:443";
aliasgroup1 = "${cfg.host}:443";
aliasgroup2 = "cloud.rotehaare.art:443";
dictionaries = "en_CA en_US es_MX es_ES fr_FR it pt_BR ru";
extra_params = ''