When I make a request through a proxy, nakama writes an error "error": "HTTP key invalid" although the key is passed in the parameters, what's wrong?

I have a problem, I make a direct request of this type -

curl -X POST “http://2.97.101.15:7350/v2/rpc/custom_payment?http_key=mysecretkey&unwrap=true&titleId=my-game&gameType=pc&userId=2000009190&paymentId=029481-1000004894-21360624064806-0910201756

and nakama processes it correctly.

But when I make a request through a proxy -

curl -X POST “http://2.97.101.15/custom_payment?http_key=mysecretkey&unwrap=true&titleId=my-game&gameType=pc&userId=2000009190&paymentId=029481-1000004894-21360624064806-0910201756

then nakama writes the error “error”:“HTTP key invalid” although the key is passed in the parameters, what’s wrong?

I’m confused, I used nginx and apache, but I still encounter the error “error”:“HTTP key invalid” maybe this is due to the fact that the HTTP gate can have a built-in check that rejects requests coming through a proxy?

It’s hard for us to help or comment on custom deployments due to their heterogeneity and complexity.

Perhaps someone in the community can provide more guidance, but my understanding is that for whatever reason, the param is not reaching Nakama.