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

12 lines
210 B
Nix
Raw Normal View History

2024-10-20 20:35:04 +00:00
{ pkgs, ... }:
{
services.caddy = {
enable = true;
configFile = pkgs.writeText "Caddyfile" ''
http://nzbget.t-juice.club {
reverse_proxy http://10.69.12.51:6789
}
'';
};
}