nixos-servers/services/http-proxy/proxy.nix

12 lines
210 B
Nix

{ pkgs, ... }:
{
services.caddy = {
enable = true;
configFile = pkgs.writeText "Caddyfile" ''
http://nzbget.t-juice.club {
reverse_proxy http://10.69.12.51:6789
}
'';
};
}