Skip to content

Commit

Permalink
docs(nginx template) fix comment typo
Browse files Browse the repository at this point in the history
ngx.location.capture was what Kong meant to put here.
  • Loading branch information
jeremyjpj0916 authored Jun 4, 2024
1 parent f46a957 commit 40b60aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kong/templates/nginx_kong.lua
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ server {
set $kong_proxy_mode 'http';
rewrite_by_lua_block {
-- ngx.localtion.capture will create a new nginx request,
-- ngx.location.capture will create a new nginx request,
-- so the upstream ssl-related info attached to the `r` gets lost.
-- we need to re-set them here to the new nginx request.
local ctx = ngx.ctx
Expand Down

0 comments on commit 40b60aa

Please sign in to comment.