feat: setup anubis for searx
This commit is contained in:
parent
139a37aa9d
commit
1c7d0988d2
1 changed files with 12 additions and 1 deletions
|
|
@ -15,10 +15,21 @@
|
|||
environmentFile = "${config.age.secrets.searx.path}";
|
||||
};
|
||||
|
||||
# Setup anubis to block fucking ai bots
|
||||
services.anubis.instances.searx = {
|
||||
settings = {
|
||||
TARGET = "http://127.0.0.1:8090";
|
||||
BIND_NETWORK = "tcp";
|
||||
BIND = "127.0.0.1:8082";
|
||||
SERVE_ROBOTS_TXT = true;
|
||||
DIFFICULTY = 5;
|
||||
};
|
||||
};
|
||||
|
||||
services.traefik.dynamicConfigOptions.http = {
|
||||
services.searx.loadBalancer.servers = [
|
||||
{
|
||||
url = "http://localhost:8090";
|
||||
url = "http://localhost:8082";
|
||||
}
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue