retooling and updated README
This commit is contained in:
25
modules/mempool.nix
Executable file
25
modules/mempool.nix
Executable file
@@ -0,0 +1,25 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
|
||||
services.mempool = {
|
||||
enable = true;
|
||||
frontend.enable = true;
|
||||
};
|
||||
|
||||
services.mysql.package = lib.mkForce pkgs.mariadb;
|
||||
|
||||
nix-bitcoin.onionServices.mempool-frontend.enable = true;
|
||||
|
||||
services.caddy = {
|
||||
virtualHosts = {
|
||||
":60847" = {
|
||||
extraConfig = ''
|
||||
reverse_proxy :60845
|
||||
encode gzip zstd
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user