Merge pull request #1873 from SkynetLabs/fix-blocker-host-not-found-when-blocker-module-not-enabled

fix: host not found in upstream "blocker"
This commit is contained in:
Karol Wypchło 2022-03-18 13:03:30 +01:00 committed by GitHub
commit 83b962a70f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -47,7 +47,9 @@ location /skynet/portal/blocklist {
proxy_cache skynet; proxy_cache skynet;
proxy_cache_valid 200 204 15m; # cache portal blocklist for 15 minutes 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 { location /skynet/portals {