libreddit: allow WAN traffic
This commit is contained in:
parent
a427ea4272
commit
dd7189cca0
@ -1,4 +1,4 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
domain = "reddit.giugl.io";
|
domain = "reddit.giugl.io";
|
||||||
@ -11,6 +11,9 @@ in
|
|||||||
|
|
||||||
architect.vhost.${domain} = {
|
architect.vhost.${domain} = {
|
||||||
dnsInterfaces = [ "lan" "tailscale" ];
|
dnsInterfaces = [ "lan" "tailscale" ];
|
||||||
locations."/".port = config.services.libreddit.port;
|
locations."/" = {
|
||||||
|
port = config.services.libreddit.port;
|
||||||
|
allowWAN = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user