libreddit: allow WAN traffic
This commit is contained in:
parent
a427ea4272
commit
dd7189cca0
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user