How to load resource from a server port without change the URL

Hi guys! Glad to be part of CloudFlare, I would like to test it, I was wondering, how do I redirect a petition to a specific server port? For example, the client will go to test.example.com but CloudFlare needs to load the resource provied from 120.0.0.1:1234 but standing the URL as test.example.com. I read the documentation but it says I need to create an app but CloudFlare disabled that feature 😦 I also created a redirect rule specifying that when I receive a request for test.example.com it needs to load the resources from 120.0.0.1:1234 but I still load port 80 or 443
4 Replies
Cyb3r-Jak3
Cyb3r-Jak3•3mo ago
You want an origin rule With the destination port setting
Ing. Jonathan Alcocer
Ing. Jonathan AlcocerOP•3mo ago
That's right but I'm not sure how to configurate it right Shaika share me this code "hostname eq test.example.com port overwrite 1234" @Chaika Alright, I already save the configuration as you mentioned, I will wait to test it, thank you for you help @Chaika Still redirect to the port 443
Chaika
Chaika•3mo ago
sounds like something your origin would be doing. What's the url?
Ing. Jonathan Alcocer
Ing. Jonathan AlcocerOP•3mo ago
I will send you on DM Done, this URL is from CloudFlare and I want to load a resource from other port, I configured my nginx on my server to listen the port 2023 Probably a need to check my nginx configuration, I mean, my site configuration
Want results from more Discord servers?
Add your server