How to connect to self hosted REST API through a cloudflare proxy?

Sorry if this is a weird question but I made a REST API which I am running locally (and I want to keep it that way) and all works fine if I directly use my public ip address, however, once I try making for example a GET request out of my proxied domain, it ceases to work. Any way to make it work?
1 Reply
𝙲𝚛𝚊𝚣𝚢𝚔𝚊𝚣𝚘𝚘
ok if I am not wrong the cloudflare's proxy thingy only works with ports 80 and 443, so I just made it so my website is on 443 and the api is on 80 and whenever a non valid request is sent to the api, it instead gets redirected into my website

Did you find this page helpful?