joint ips & ports open through lambda
This commit is contained in:
@@ -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}}";
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user