Proxy Pass by Nginx

We are currently experiencing an issue with our Nginx configuration, specifically related to redirects.

We have an Nginx configuration that redirects requests from .com/ to .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.

Best regards,

Are you redirecing on the origin or at Cloudflare? You can redirect at Cloudflare using redirect rules.

Cloudflare does proxy on port 2087, but for HTTPS only so ensure that’s what you are requesting.

If you can give the URL you want to redirect from, it’ll be easier to see what’s happening by testing it.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.