Change cloudflare backend web port for custom url

Hi,

I have a domain called www.xxx.com.

www.xxx.com serves through cloudflare proxy.
Nginx web server is active in the background, and it responds to all requests to this address.

www.xxx.com → proxy A ptr → tcp:80:nginx

I want to do

All requests coming under www.xxx.com/gate.php or www.xx.com/gate/* are sent to cloudflare on my server.

www.xxx.com/gate/* → proxy A ptr → tcp:2020:laravel service

redirect, why do I want this? To take extra tcp connection stress on nginx and give it directly to the service on 2020 tcp port with cloudflare.

otherwise I’ll have to open a redirect from within nginx.

is it possible?

Not running HTTPS later or?

I wonder, may I ask if you can change this port to one which is supported and compatible with Cloudflare proxy mode :orange: as follows on the below link?:

From the topic title, I am not familiar if this is possible (yes at the origin host/server).
Rather using multiple ports (supporetd and compatible) over the same hostname, if so, for different apps/services - in terms of the DNS (at Cloudflare).

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