We are currently experiencing an issue with our Nginx configuration, specifically related to redirects.
We have an Nginx configuration that redirects requests from socket.site .com/socket.io/socket.io.js to app.site .com:2087. However, when the Cloudflare proxy is enabled, this redirection does not work as expected.
Is there a recommended solution or set of rules within Cloudflare that can help us achieve the desired redirection while still having the Cloudflare proxy enabled?
Any guidance or assistance you can provide in resolving this matter would be greatly appreciated.
Thank you for your time and support.