feat(heimdall): put anubis in front of redlib.

This commit is contained in:
CronyAkatsuki 2025-05-19 11:39:38 +02:00
parent c9d2cc6f44
commit 1d6a13f479

View file

@ -9,10 +9,20 @@
};
};
# Setup anubis to block fucking ai bots
services.anubis.instances.redlib = {
settings = {
TARGET = "http://127.0.0.1:8080";
BIND_NETWORK = "tcp";
BIND = "127.0.0.1:8081";
SERVE_ROBOTS_TXT = true;
};
};
services.traefik.dynamicConfigOptions.http = {
services.redlib.loadBalancer.servers = [
{
url = "http://localhost:8080";
url = "http://localhost:8081";
}
];