#How to use cloudflare tunnel?

8 messages · Page 1 of 1 (latest)

arctic timber
#

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?

polar vectorBOT
#

Project ID: 8a562b1b-8488-472e-b420-02478d2a8df0

arctic timber
#

8a562b1b-8488-472e-b420-02478d2a8df0

brazen whale
#

hopefully they can update the overview with a little more information on the nitty gritty

arctic timber
#

I finally figured it out the template is incorrect. The custom start command needs to be changed to cloudflared tunnel --no-autoupdate run NODDER

brazen whale
#

updated, thank you!

finite narwhal
#

Hmmm seems like start command didn't persist, will talk to Faraz about this

brazen whale
#

we all good now though