update ip and middlewares

This commit is contained in:
♥ Minnie ♥ 2024-09-07 15:49:39 +08:00
parent 77d82dd853
commit 8c7fdf4612
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
3 changed files with 4 additions and 4 deletions

View file

@ -11,7 +11,7 @@
# Restrict access to internal networks # Restrict access to internal networks
internal.ipwhitelist.sourcerange = [ internal.ipwhitelist.sourcerange = [
"127.0.0.1/32" # localhost "127.0.0.1/32" # localhost
"192.168.20.1/24" # lan "192.168.50.1/24" # lan
]; ];
# Restrict access based on geo-location # Restrict access based on geo-location

View file

@ -6,7 +6,7 @@
"websecure" "websecure"
]; ];
middlewares = [ middlewares = [
"admin" "internal"
]; ];
service = "api@internal"; service = "api@internal";
}; };
@ -17,7 +17,7 @@
"websecure" "websecure"
]; ];
middlewares = [ middlewares = [
"admin" "internal"
]; ];
service = "ender1"; service = "ender1";
}; };

View file

@ -1,7 +1,7 @@
{...}: { {...}: {
services.traefik.dynamicConfigOptions.http.services = { services.traefik.dynamicConfigOptions.http.services = {
ender1.loadBalancer.servers = [ ender1.loadBalancer.servers = [
{url = "http://192.168.1.103:80";} {url = "http://192.168.50.201:80";}
]; ];
}; };
} }