You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/06/10 15:15:07 UTC

[GitHub] akrabat opened a new issue #310: x-forwarded-port makes little sense

akrabat opened a new issue #310: x-forwarded-port makes little sense
URL: https://github.com/apache/incubator-openwhisk-apigateway/issues/310
 
 
   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`.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services