joint ips & ports open through lambda

This commit is contained in:
2025-09-20 15:48:05 -06:00
parent 6e49c741f3
commit e3272a1dce
6 changed files with 25 additions and 57 deletions

View File

@@ -196,7 +196,7 @@
icon = "${cfg.name}.png";
href = cfg.url;
widget = {
url = "http://${config.my.wgServerIp}:8081";
url = "http://${config.my.ips.wg-server}:8081";
type = cfg.name;
username = "{{HOMEPAGE_VAR_NEXTCLOUD_USERNAME}}";
password = "{{HOMEPAGE_VAR_NEXTCLOUD_PASSWORD}}";

View File

@@ -111,8 +111,8 @@ in
trusted_proxies = [
config.my.localhost
config.my.localhost6
config.my.routerIp
config.my.wgVpsIp
config.my.ips.router
config.my.ips.wg-vps
];
trusted_domains = [
cfg.host
@@ -165,7 +165,7 @@ in
#vps
listen = [
{
addr = config.my.wgServerIp;
addr = config.my.ips.wg-server;
port = 8081;
}
{

View File

@@ -59,7 +59,7 @@ in
bind_addresses = [
config.my.localhost
config.my.localhost6
config.my.wgServerIp
config.my.ips.wg-server
];
type = "http";
tls = false;