Hi all,
I solved the issue with Keycloak with a serverless function. It works in my case.
config:
functions:
- return function()
if ngx.var.upstream_x_forwarded_port == "8000" then
ngx.var.upstream_x_forwarded_port = 80
elseif ngx.var.upstream_x_forwarded_port == "8443" then
ngx.var.upstream_x_forwarded_port = 443
end
end
plugin: post-function
May be it helps.
Best,
Daniel