mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-05-13 15:51:09 +02:00
network: use internal domains
This commit is contained in:
parent
f511f7d146
commit
cc59943638
7 changed files with 40 additions and 34 deletions
|
@ -1,7 +1,12 @@
|
|||
{ ... }:
|
||||
{ config, ... }:
|
||||
let
|
||||
domain = "movies.vpn.rfive.de";
|
||||
in
|
||||
{
|
||||
services.radarr = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
services.caddy.virtualHosts."http://${domain}".extraConfig = ''
|
||||
reverse_proxy 127.0.0.1:${toString config.services.radarr.settings.server.port}
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue