update ip and middlewares
This commit is contained in:
parent
77d82dd853
commit
8c7fdf4612
|
@ -11,7 +11,7 @@
|
|||
# Restrict access to internal networks
|
||||
internal.ipwhitelist.sourcerange = [
|
||||
"127.0.0.1/32" # localhost
|
||||
"192.168.20.1/24" # lan
|
||||
"192.168.50.1/24" # lan
|
||||
];
|
||||
|
||||
# Restrict access based on geo-location
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"websecure"
|
||||
];
|
||||
middlewares = [
|
||||
"admin"
|
||||
"internal"
|
||||
];
|
||||
service = "api@internal";
|
||||
};
|
||||
|
@ -17,7 +17,7 @@
|
|||
"websecure"
|
||||
];
|
||||
middlewares = [
|
||||
"admin"
|
||||
"internal"
|
||||
];
|
||||
service = "ender1";
|
||||
};
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{...}: {
|
||||
services.traefik.dynamicConfigOptions.http.services = {
|
||||
ender1.loadBalancer.servers = [
|
||||
{url = "http://192.168.1.103:80";}
|
||||
{url = "http://192.168.50.201:80";}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue