a year ago
I'm trying to follow what is listed out here, but I'm failing to understand this guide.
I've deployed a next.js project on a railway project, and I've also deployed the cloudflared template, setup the token in the cloudflared image, but I'm lost trying to point cloudflare to access my running next app.
0 Replies
from what I understand, I needed to add a hostname to my cloudflare tunnel and use the internal networking hostname provided in railway?
I've tried both http://webdevcody-com , https://webdevcody-com, and they full hostname
I've verified my app is actually running by creating a public hostname here: https://webdevcodycom-production.up.railway.app/
a year ago
where is this screenshot from?
a year ago
wow, look at the inconsistencies in the design, on the same page!! through me for a loop
a year ago
ill pull up my zero trust page and see how i have things setup
a year ago
screenshot of your tunnels page please? ill probably end up needing more screenshots as we go
a year ago
i know the second tunnel pertains to the topic of this help thread, but for context, whats the first tunnel for?
I'll even delete that project planner tunnel just to make sure I didn't screw anything up
a year ago
okay can you send me your deploy logs for next
am I supposed to use http://localhost:5735 ?
a year ago
nope
a year ago
set a PORT
service variable to 3000
on the next service, number doesnt matter too much, just need to be a fixed number
a year ago
so if you like 8080 more, use that instead
a year ago
and then another screenshot of the deploy logs please
basically hard code the port, then specify the port of the next service in the service url
a year ago
yep exactly