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:
commit
83b962a70f
|
@ -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 {
|
||||||
|
|
Reference in New Issue