From dd7189cca09498c86e0c59f061b8aa96a7d3552e Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Thu, 16 Nov 2023 17:42:55 +0100 Subject: [PATCH] libreddit: allow WAN traffic --- hosts/architect/libreddit.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hosts/architect/libreddit.nix b/hosts/architect/libreddit.nix index 55b28f6..504e6bf 100644 --- a/hosts/architect/libreddit.nix +++ b/hosts/architect/libreddit.nix @@ -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; + }; }; }