nix-config/features/server/caddy.nix
2024-08-26 10:12:44 +02:00

74 lines
1.8 KiB
Nix

{ config, lib, ... }:
{
services.caddy = {
enable = true;
virtualHosts = {
"http://sisyphe.normandy.hypervirtual.world".extraConfig = ''
reverse_proxy :8082
'';
"http://git.hypervirtual.world".extraConfig = ''
reverse_proxy :3333
'';
"http://books.hypervirtual.world".extraConfig = ''
reverse_proxy :8083
'';
"http://fish.hypervirtual.world".extraConfig = ''
reverse_proxy :3030
'';
"http://jellyfin.sisyphe.normandy.hypervirtual.world".extraConfig = ''
reverse_proxy :8096
'';
"http://media.hypervirtual.world".extraConfig = ''
reverse_proxy :8096
'';
"http://slskd.sisyphe.normandy.hypervirtual.world".extraConfig = ''
reverse_proxy :5030
'';
"http://radarr.sisyphe.normandy.hypervirtual.world".extraConfig = ''
reverse_proxy :7878
'';
"http://sonarr.sisyphe.normandy.hypervirtual.world".extraConfig = ''
reverse_proxy :8989
'';
"http://sonarr-anime.sisyphe.normandy.hypervirtual.world".extraConfig = ''
reverse_proxy :8999
'';
"http://prowlarr.sisyphe.normandy.hypervirtual.world".extraConfig = ''
reverse_proxy :9696
'';
"http://grafana.sisyphe.normandy.hypervirtual.world".extraConfig = ''
reverse_proxy :3000
'';
"http://status.hypervirtual.world".extraConfig = ''
reverse_proxy :4000
'';
"http://transmission.sisyphe.normandy.hypervirtual.world".extraConfig = ''
reverse_proxy :9091
'';
"http://uptime.sisyphe.normandy.hypervirtual.world".extraConfig = ''
reverse_proxy :4000
'';
"http://mc.sisyphe.normandy.hypervirtual.world".extraConfig = ''
reverse_proxy :8443
'';
};
};
}