You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/11/02 07:17:04 UTC

[GitHub] [apisix] biakecw commented on a diff in pull request #8226: feat: allow customize x_Forwarded_Port while handling upstream headers

biakecw commented on code in PR #8226:
URL: https://github.com/apache/apisix/pull/8226#discussion_r1011296821


##########
apisix/init.lua:
##########
@@ -258,6 +258,10 @@ local function set_upstream_headers(api_ctx, picked_server)
     if proto then
         api_ctx.var.var_x_forwarded_proto = proto
     end
+    local port = api_ctx.var.http_x_forwarded_port

Review Comment:
   Code has been updated,thx.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org