Add services to proxy

This commit is contained in:
Torjus Håkestad 2024-10-20 22:39:40 +02:00
parent a2db4db09e
commit 42f74df4a5
Signed by: torjus
SSH Key Fingerprint: SHA256:KjAds8wHfD2mBYK2H815s/+ABcSdcIHUndwHEdSxml4

View File

@ -3,8 +3,16 @@
services.caddy = { services.caddy = {
enable = true; enable = true;
configFile = pkgs.writeText "Caddyfile" '' configFile = pkgs.writeText "Caddyfile" ''
http://nzbget.t-juice.club { http://nzbget.home.t-juice.club {
reverse_proxy http://10.69.12.51:6789 reverse_proxy http://nzbget-jail.home.t-juice.club:6789
}
http://radarr.home.t-juice.club {
reverse_proxy http://radarr-jail.home.t-juice.club:7878
}
http://sonarr.home.t-juice.club {
reverse_proxy http://sonarr-jail.home.t-juice.club:8989
} }
''; '';
}; };