We are integrating a 3rd party payment gateway which on a successful transaction sends a [1] request. So we have built a API endpoint to handle the request which works fine in dev env. Now the issue is when we use nginx infront of the API Server it gets 301 redirects. When we are using a proxy tunnel like [2], which proxies the http request via ngrok servers, the request passes through nginx tby simanto604 - Nginx Mailing List - English