Private Network Fails
I have 4 services the fourth one is nginx reverse-proxy.
Two services are dockerized, the other service is straight nodejs.
Now the NodeJs works well, I call the service name with a port number, but calling the other two dockerized fail. I tried entering the whole DNS but it doesn't work.
What should I do?
I am using NGINX, so here is basic config I want to achieve
Then I can use it in a location block
5 Replies
Project ID:
N/A
N/A
nginx is hard to do correctly with the private network, instead I recommend using caddy, here's a template that likely does what you want - https://railway.app/template/7uDSyj
Alright thanks thanks bro
When sending requests to this I want this to proxy to api.railway.internal:3000/api/v1
I want this to proxy to groove.railway.internal:5000/api/v1
Am try caddy but am totally new to so my config is messed up, nothing is working
show me your caddyfile please