How do I setup a reverse proxy on Cloudflare?
Basically, I'm trying to convert http://149.56.67.129:25585 into https://svexpanded.com/
How would I do this?
36 Replies
depending on the type of website you could use an nginx reverse proxy:
Or workers:
Is this possible going through just Cloudflare? I do not have the resources currently to setup a VPS and nginx reverse proxy
you could use cf workers
I'll test out this:
hm
Could you expand on that a bit more? Not quite sure what you mean hahaha
Do you have access to the domain name you bought
Add that domain name to CloudFlare
https://dash.cloudflare.com/?to=/:account/add-site
Already added, yes
Do you have the DNS records set up for proxying?
Type: A
Name: @
Target: 149.56.67.129
Yes, that has been added
So now you need to overwrite the port from 80 (HTTP)/443 (HTTPS) to your specified port (25585)
Under rules > origin rules > new
Should be "all Incoming requests" then "overwrite to 25585"
@RyanKnack
Just did it. Doesn't appear to be working quite yet- could it take some time?
ohhh i see
i needed to proxy the A record
I think you may need to configure the DNS on your server side as well
Can I see your DNS entries
I had it on DNS only, Proxied works :D
Ooh so it works now?
Ayyy works on my end as well