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,6 +1,12 @@
|
|||
{ config, ... }:
|
||||
let
|
||||
domain = "media.vpn.rfive.de";
|
||||
in
|
||||
{
|
||||
services.jellyfin = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
services.caddy.virtualHosts."http://${domain}".extraConfig = ''
|
||||
reverse_proxy 127.0.0.1:8096
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue