How to use cloudflare tunnel?
https://railway.app/template/cf-tunnel
The description on this is not very clear.
I have a railway project where I created a
nodejs
app from the default template you can get where it creates a github repo for you with a basic hello world http response.
Now I create a cf-tunnel template. Go to cloudflare zero trust and create a tunnel. Copy the token paste it into railway. What do I do now?
I tried to put the service
as http://nodejs.railway.internal
on the cloudflare tunnel settings in zero trust but the cf-tunnel
template is just crashing and the logs say exec tunnel failed: No such file or directory
. I'm assuming the template is just incorrect?7 Replies
Project ID:
8a562b1b-8488-472e-b420-02478d2a8df0
8a562b1b-8488-472e-b420-02478d2a8df0
hopefully they can update the overview with a little more information on the nitty gritty
I finally figured it out the template is incorrect. The
custom start command
needs to be changed to cloudflared tunnel --no-autoupdate run
updated, thank you!
Hmmm seems like start command didn't persist, will talk to Faraz about this
Solution
we all good now though