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

26 lines
638 B
Nix
Raw Normal View History

2024-10-20 20:35:04 +00:00
{ pkgs, ... }:
{
services.caddy = {
enable = true;
configFile = pkgs.writeText "Caddyfile" ''
2024-10-20 20:45:08 +00:00
http://nzbget.home.2rjus.net {
reverse_proxy http://nzbget-jail.home.2rjus.net:6789
2024-10-20 20:39:40 +00:00
}
2024-10-20 20:45:08 +00:00
http://radarr.home.2rjus.net {
reverse_proxy http://radarr-jail.home.2rjus.net:7878
2024-10-20 20:39:40 +00:00
}
2024-10-20 20:45:08 +00:00
http://sonarr.home.2rjus.net {
reverse_proxy http://sonarr-jail.home.2rjus.net:8989
2024-10-20 20:35:04 +00:00
}
2024-11-09 13:07:40 +00:00
http://ha.home.2rjus.net {
reverse_proxy http://ha1.home.2rjus.net:8123
}
http://z2m.home.2rjus.net {
reverse_proxy http://ha1.home.2rjus.net:8080
}
2024-10-20 20:35:04 +00:00
'';
};
}