Reaction Commerce Forums

Nginx Proxy in Kubernetes response header too large

I am deploying the Reaction API via a kubernetes cluster using an Nginx Ingress Controller. When navigating to my connected domain name I get a 502 Bad Gateway. The nginx log is as shown:

*41695 upstream sent too big header while reading response header from upstream, client: <client ip>, server: <server domain>, request: "GET / HTTP/2.0", upstream: "<host:port>", host: <host>"

I modified my nginx ingress controller ConfigMap as followed:

kind: ConfigMap
apiVersion: v1

  name: nginx-ingress-controller
  namespace: default

  proxy-buffering: "on"
  proxy-buffers-number: "4"
  proxy-buffer-size: "256k"
  client-header-buffer-size: "256k"
  large-client-header-buffers: "4 256k"

Any help with this issue would be very appreciated.