Update reverse proxy for our printer and webserver
This commit is contained in:
parent
3bf73b3dec
commit
885fdd0d0a
|
@ -2,6 +2,17 @@
|
|||
|
||||
{
|
||||
services.traefik.dynamicConfigOptions.http.routers = {
|
||||
httpd = {
|
||||
rule = "Host(`sajenim.dev`)";
|
||||
entryPoints = [
|
||||
"websecure"
|
||||
];
|
||||
middlewares = [
|
||||
"geoblock"
|
||||
];
|
||||
service = "httpd";
|
||||
};
|
||||
|
||||
forgejo = {
|
||||
rule = "Host(`git.sajenim.dev`)";
|
||||
entryPoints = [
|
||||
|
@ -113,7 +124,7 @@
|
|||
};
|
||||
|
||||
qbittorrent = {
|
||||
rule = "Host(`qbittorrent.kanto.dev`)";
|
||||
rule = "Host(`torrent.kanto.dev`)";
|
||||
entryPoints = [
|
||||
"websecure"
|
||||
];
|
||||
|
@ -144,6 +155,17 @@
|
|||
];
|
||||
service = "microbin";
|
||||
};
|
||||
|
||||
ender1 = {
|
||||
rule = "Host(`e1.kanto.dev`)";
|
||||
entryPoints = [
|
||||
"websecure"
|
||||
];
|
||||
middlewares = [
|
||||
"admin"
|
||||
];
|
||||
service = "ender1";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -2,9 +2,15 @@
|
|||
|
||||
{
|
||||
services.traefik.dynamicConfigOptions.http.services = {
|
||||
# sajenim.dev
|
||||
httpd.loadBalancer.servers = [
|
||||
{ url = "http://192.168.1.102:5624"; }
|
||||
];
|
||||
forgejo.loadBalancer.servers = [
|
||||
{ url = "http://192.168.1.102:3131"; }
|
||||
];
|
||||
|
||||
# kanto.dev
|
||||
homarr.loadBalancer.servers = [
|
||||
{ url = "http://192.168.1.102:7575"; }
|
||||
];
|
||||
|
@ -38,6 +44,9 @@
|
|||
microbin.loadBalancer.servers = [
|
||||
{ url = "http://192.168.1.102:8181"; }
|
||||
];
|
||||
ender1.loadBalancer.servers = [
|
||||
{ url = "http://192.168.1.103:80"; }
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue