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 06:44:32 UTC

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

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


##########
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:
   Some extra changes are required. See https://github.com/apache/apisix/pull/8200/files



-- 
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