26 lines
461 B
Nix
26 lines
461 B
Nix
|
{ pkgs, config, ... }: {
|
||
|
|
||
|
virtualisation.oci-containers.containers = {
|
||
|
dumb = {
|
||
|
image = "ghcr.io/rramiachraf/dumb:latest";
|
||
|
ports = [
|
||
|
"8332:5555"
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
|
||
|
services.nginx = {
|
||
|
virtualHosts = {
|
||
|
"dumb.${config.networking.domain}" =
|
||
|
{
|
||
|
forceSSL = true;
|
||
|
enableACME = true;
|
||
|
locations."/" = {
|
||
|
proxyPass = " http://127.0.0.1:8332";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|
||
|
|