Skip to content

Commit

Permalink
dns_update has been fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ZigzagAK committed Mar 12, 2021
1 parent 960eef2 commit a3c243a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,7 @@ http {
listen 6003;

location / {
content_by_lua_block {
ngx.say("hello")
}
echo hello;
}
}
}
Expand Down
1 change: 1 addition & 0 deletions src/ngx_http_dynamic_upstream_module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -959,6 +959,7 @@ template <class S> struct upstream_sync_functor
dscf->next = now + dscf->interval;

op.op = NGX_DYNAMIC_UPSTEAM_OP_SYNC;
op.hash = 0;
op.upstream = uscf->host;
op.op_param |= NGX_DYNAMIC_UPSTEAM_OP_PARAM_RESOLVE_SYNC;
if (dscf->ipv6 == 1)
Expand Down

0 comments on commit a3c243a

Please sign in to comment.