IamIconLiving
Explore posts from servers404 main page not found
I deployed a docker file that contains multiple services and express app that serves react is one of them.
When I try to access the main webpage, I get 404 with following logs in the deployment
I tried to set the
Caddyfile
and nixpacks.toml
files based on this repo here
https://github.com/brody192/vite-react-template/blob/main/nixpacks.toml to no luck
https://popspace-demo-production.up.railway.app/17 replies
Docker image failes to copy `.git` directory
I wonder what am I doing wrong, as it seems like a trivial thing - copying a git directory onto the machine but it fails at this step.
Here is the entire Docker file
https://github.com/with-labs/popspace/blob/main/Dockerfile
9 replies
ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock
I tried deleting my Railway proc file and getting this error now
ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running
9 replies
Possibility to specify service during `railway up`
As subject states, is it possible to specify target service during
railway up
to avoid interactive mode? If there is a deployment of multiple services that needs to be done automatically without user selecting what goes to which service interactively,
Some like railway up --service=client
etc4 replies
React with router getting 404
I know it's a common knowledge where SPAs are getting 404 if used in combination with routing solution, however it seems that some people were able to fix it, but not my case unfortunately.
I followed steps advised in this thread - https://discord.com/channels/713503345364697088/1019596063079944273 but now I am just getting Server Error from Railway when trying to access the webapp and there are no logs in the Deployment logs at all.
My Dockerfile
And
.nginx/nginx.conf
file
I am not even sure how to troubleshoot this as it seems like i am not hitting the webapp at all as there are no logs? Any help would be appreciated10 replies