27 lines
482 B
Nix
Raw Normal View History

2025-05-05 22:11:11 +02:00
{...}: {
services.rimgo = {
enable = true;
settings = {
PORT = 3000;
ADDRESS = "127.0.0.1";
};
};
services.traefik.dynamicConfigOptions.http = {
services.rimgo.loadBalancer.servers = [
{
url = "http://localhost:3000";
}
];
routers.rimgo = {
rule = "Host(`rimgo.cronyakatsuki.xyz`)";
tls = {
certResolver = "porkbun";
};
service = "rimgo";
entrypoints = "websecure";
};
};
}