danielo515
Explore posts from serversCDCloudflare Developers
•Created by danielo515 on 5/21/2024 in #workers-help
Having some worker functions in a subdirectory of a existing project
Hello. I want to deploy some functions to cloudflare workers from a existing node-js project that I have. Every tutorial about workers/wrangler starts with "create a new project" so I am not sure what is the way of adding it to a subfolder of an existing node-js project. Any guidance or pointers to existing resources will be welcome.
1 replies
Can I somehow pay to change the region
Hello.
I see the regions are only available in the pro plan. I only need to move one of my services for a couple of days to the EU region. Is this possible paying something other than the PRO plan? Can I upgrade to pro for a mont and then get back to hobby?
9 replies
do http compression at proxy level?
Hello.
I'm migrating my website to railway, and being used to other providers doing compression at the proxy level I'm a bit surprised railway does not. Is there any setting to activate this? Should I do this at the cloudflare level just like my custom domain?
18 replies
In my Astro site one of the routes is routing to localhost
Hello.
I am trying to move my Astro site from Vercel, where it is currently working without problems (except for some bug in the Vercel integration that makes impossible to build static pages) to railway.
I created a docker image and managed to make it build properly. The site is deployed and available, but for some weird reason one of the routes that points to a static path is redirecting me to localhost. When I click the link first I see a white screen saying that I will be redirected to localhost, and them I am redirected to localhost.
Any idea why? Is this something Railway load balancer does?
59 replies
Is the cache-id with the ID of the service still a requirement?
It has been explained here: https://discord.com/channels/713503345364697088/1104400912149123152/1108081571665281085
Is there a way to get this injected automatically so I don't tie my docker files to what will can be an ephemeral service id?
4 replies
How to select which service to get logs from in the CLI?
Hello.
I tried to use the CLI to get logs from one of the services in my project, but sadly the CLI was showing me the logs of another service.
Cheking all the options of the CLI doesn't seem possible to target specific services or get all the logs, it seems to focus on the latest service that was built.
Is this a limitation?
15 replies
Browserless fails to create lockfile due to permissions
Hello everybody, I'm just testing railway, and so far I'm happy.
However, I tried to attach a volume to one of my working services, and after configuring it properly to use the path it is raising a permissions error.
The docker image is browserless, and the way I have it configured is with this environments:
8 replies