Skip to content

x-forwarded-port makes little sense #310

@akrabat

Description

@akrabat

Given that I have an API gateway set up like this: wsk api create /base /test GET test -n testapi --response-type http, then I can access it like this:

$ curl https://service.eu.apiconnect.ibmcloud.com/gws/apigateway/api/2fb...be1/base/test

Inspecting __ow_headers, I find this:

"x-forwarded-url": "https://service.eu.apiconnect.ibmcloud.com/gws/apigateway/api/2fb...be1/base/test",
"x-forwarded-port": "8080",

The URL is correct, but the port should be 443.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions