R
Railway10mo ago
Unsmart

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?
Solution:
we all good now though
No description
Jump to solution
7 Replies
Percy
Percy10mo ago
Project ID: 8a562b1b-8488-472e-b420-02478d2a8df0
Unsmart
UnsmartOP10mo ago
8a562b1b-8488-472e-b420-02478d2a8df0
Brody
Brody10mo ago
hopefully they can update the overview with a little more information on the nitty gritty
Unsmart
UnsmartOP10mo ago
I finally figured it out the template is incorrect. The custom start command needs to be changed to cloudflared tunnel --no-autoupdate run NODDER
Brody
Brody10mo ago
updated, thank you!
angelo
angelo10mo ago
Hmmm seems like start command didn't persist, will talk to Faraz about this
Solution
Brody
Brody10mo ago
we all good now though
No description
Want results from more Discord servers?
Add your server