libreddit: allow WAN traffic

This commit is contained in:
Giulio De Pasquale 2023-11-16 17:42:55 +01:00
parent a427ea4272
commit dd7189cca0

View File

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ config, ... }:
let
domain = "reddit.giugl.io";
@ -11,6 +11,9 @@ in
architect.vhost.${domain} = {
dnsInterfaces = [ "lan" "tailscale" ];
locations."/".port = config.services.libreddit.port;
locations."/" = {
port = config.services.libreddit.port;
allowWAN = true;
};
};
}