when we call flow-api using keycloak:
scheme is https and suffix is /flow/
when we call flow-api using auth0:
scheme is https and suffix is /flow/
when we call flow-api using internal call:
scheme is http and suffix is ``
I've observed that nginx-proxy uses http instead of http as scheme when it communicates with backend (... 🤔 is this observation correct? is this behavior the expected one?)
IMO we should set up a new nginx proxy for the internal call that requires same suffix so we don't charge with "external" knowledge backend side
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This provisional working fix https://github.com/akvo/akvo-flow-api/commit/2023bc2531ef259847b51c190b212ae70ed59cbf should be redesign
Current scenario is:
https
and suffix is/flow/
https
and suffix is/flow/
http
and suffix is ``I've observed that nginx-proxy uses http instead of http as scheme when it communicates with backend (... 🤔 is this observation correct? is this behavior the expected one?)
IMO we should set up a new nginx proxy for the internal call that requires same suffix so we don't charge with "external" knowledge backend side