From 0ac62bb2ae5c8f7d082ff97da1fff7a86903cf4f Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Fri, 11 Nov 2022 00:33:06 +0100 Subject: [PATCH] reddit: localhost -> 127.0.0.1 to avoid ipv6 --- hosts/architect/libreddit.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hosts/architect/libreddit.nix b/hosts/architect/libreddit.nix index 7d5572c..7e153ce 100644 --- a/hosts/architect/libreddit.nix +++ b/hosts/architect/libreddit.nix @@ -3,7 +3,8 @@ let domain = "reddit.giugl.io"; network = import ./network.nix; -in { +in +{ services = { libreddit = { enable = true; @@ -13,7 +14,7 @@ in { nginx.virtualHosts.${domain} = { forceSSL = true; enableACME = true; - locations."/" = { proxyPass = "http://localhost:9090"; }; + locations."/" = { proxyPass = "http://127.0.0.1:9090"; }; }; };