mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 11:12:09 +02:00
eleakxir: init
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
18
server-modules/eleakxir.nix
Normal file
18
server-modules/eleakxir.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{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
|
||||
}";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user