0

I have a simple express service whose controller parses a request and processes it. When a request is sent via postman everything works fine.

But, if the api request is sent from a proxy I recieve the request, but, don't get the request body.

My configuration is such that, api requests are being redirected by ingress controller to a kubernetes cluster. We have only one pod at this point.

If More info is needed , please let me know. This is my ingress annotation config details.

nginx.ingress.kubernetes.io/proxy-body-size: 200m
nginx.org/client-max-body-size: 200m
nginx.org/proxy-body-size: 200m
nginx.org/websocket-service: factoreal-websocket
prometheus.io/port: 10254
prometheus.io/scrape: true

We expect the request to contain the full body. But, the body is missing for requests coming from external servers which are typically behind proxies.

Mehmet Güngören
  • 2,383
  • 1
  • 9
  • 16

0 Answers0