mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 19:12:11 +02:00
19 lines
373 B
Nix
19 lines
373 B
Nix
{config, ...}: {
|
|
services.eleakxir = {
|
|
enable = true;
|
|
port = 9198;
|
|
folders = ["/var/lib/eleakxir/leaks/"];
|
|
debug = true;
|
|
};
|
|
|
|
nginx.virtualHosts."eleakxir.hadi.diy" = {
|
|
useACMEHost = "hadi.diy";
|
|
forceSSL = true;
|
|
locations."/" = {
|
|
proxyPass = "http://127.0.0.1:${
|
|
toString config.services.eleakxir.port
|
|
}";
|
|
};
|
|
};
|
|
}
|