nzbget: allow tailscale
This commit is contained in:
parent
c729cde5db
commit
d40e192dd1
@ -1,4 +1,4 @@
|
|||||||
{ config, lib, ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
domain = "htnzb.giugl.io";
|
domain = "htnzb.giugl.io";
|
||||||
@ -9,12 +9,14 @@ in
|
|||||||
group = "media";
|
group = "media";
|
||||||
};
|
};
|
||||||
|
|
||||||
architect.vhost.${domain} = {
|
architect.vhost.${domain} = with config.architect.networks; {
|
||||||
dnsInterfaces = [ "tailscale" "lan" ];
|
dnsInterfaces = [ "tailscale" "lan" ];
|
||||||
|
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
port = 6789;
|
port = 6789;
|
||||||
allowLan = true;
|
allowLan = true;
|
||||||
|
|
||||||
|
allow = [ tailscale.net ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user