mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-05-13 07:41:08 +02:00
12 lines
267 B
Nix
12 lines
267 B
Nix
{ config, ... }:
|
|
let
|
|
domain = "index.vpn.rfive.de";
|
|
in
|
|
{
|
|
services.prowlarr = {
|
|
enable = true;
|
|
};
|
|
services.caddy.virtualHosts."http://${domain}".extraConfig = ''
|
|
reverse_proxy 127.0.0.1:${toString config.services.prowlarr.settings.server.port}
|
|
'';
|
|
}
|