Skip to content

Commit

Permalink
Add comment about local resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
testower committed Mar 27, 2023
1 parent 7a2efaf commit 51aeb54
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ Note that at least [ngx_lua 0.9.3](https://github.com/openresty/lua-nginx-module
location = /publish {
resolver 8.8.8.8 ipv6=off;

-- If using workload_identity_client with default token_url,
-- the local resolver must be enabled
-- resolver 8.8.8.8 ipv6=off local=on;

content_by_lua_block {
local cjson = require "cjson"
local pubsub_producer = require "resty.pubsub.producer"
Expand Down

0 comments on commit 51aeb54

Please sign in to comment.