21 lines
320 B
Nix
21 lines
320 B
Nix
{
|
|
lib,
|
|
...
|
|
}:
|
|
let
|
|
port = "5011";
|
|
in
|
|
{
|
|
services = {
|
|
flaresolverr = {
|
|
enable = true;
|
|
port = lib.toInt port;
|
|
};
|
|
|
|
nginx.virtualHosts."flaresolverr.fi33.buzz" = {
|
|
forceSSL = true;
|
|
useACMEHost = "fi33.buzz";
|
|
locations."/".proxyPass = "http://localhost:${port}";
|
|
};
|
|
};
|
|
}
|