From ca61d359bee9bee943304a23d9f07f1de0e80e3d Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Thu, 17 Mar 2022 11:30:52 +0100 Subject: [PATCH] fix: host not found in upstream "blocker" --- docker/nginx/conf.d/server/server.api | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/nginx/conf.d/server/server.api b/docker/nginx/conf.d/server/server.api index ce93c669..5885cabf 100644 --- a/docker/nginx/conf.d/server/server.api +++ b/docker/nginx/conf.d/server/server.api @@ -47,7 +47,9 @@ location /skynet/portal/blocklist { proxy_cache skynet; proxy_cache_valid 200 204 15m; # cache portal blocklist for 15 minutes - proxy_pass http://blocker:4000/blocklist; + + # 10.10.10.110 points to blocker service + proxy_pass http://10.10.10.110:4000/blocklist; } location /skynet/portals {