discocheetah
discocheetah
RRailway
Created by discocheetah on 1/17/2024 in #✋|help
NGINX proxy to private service
Thank you!
26 replies
RRailway
Created by discocheetah on 1/17/2024 in #✋|help
NGINX proxy to private service
Sounds though like the basic setup I have of one public and one private service, with the custom domain pointing to the proxy is more or less correct.
26 replies
RRailway
Created by discocheetah on 1/17/2024 in #✋|help
NGINX proxy to private service
I'll look. This may be more trouble than it's worth. This is not the app I'm working on, just something I thought would be a quick and easy test of how to set something up on Railway. Might make more sense to just wait until I'm further along on my own project, keeping in mind this little gotcha.
26 replies
RRailway
Created by discocheetah on 1/17/2024 in #✋|help
NGINX proxy to private service
it says localhost:3000
26 replies
RRailway
Created by discocheetah on 1/17/2024 in #✋|help
NGINX proxy to private service
Oh, right, when I looked under the Observability tab, I do now remember seeing an IPV4 address
26 replies
RRailway
Created by discocheetah on 1/17/2024 in #✋|help
NGINX proxy to private service
Hm, I'll have to look into that more. The app is not something I wrote. Just seemed like a decent thing to test this basic setup.
26 replies
RRailway
Created by discocheetah on 1/17/2024 in #✋|help
NGINX proxy to private service
big-agi.railway.internal
26 replies
RRailway
Created by discocheetah on 1/17/2024 in #✋|help
NGINX proxy to private service
If I was doing this locally in docker compose, I'd have the proxy server spun up in one container and the app in another. The compose file would not expose any ports for the app container, while the proxy container would expose 80 and 443. Both containers would be on the same docker network and the proxy config would route app.mydomain.com to the app container name with its internal port. That's the mental image of what I'm trying to replicate, but maybe it's not quite the same.
26 replies
RRailway
Created by discocheetah on 1/17/2024 in #✋|help
NGINX proxy to private service
NGINX proxy manager is public, connected to a custom domain, and the nodejs service is private.
26 replies
RRailway
Created by discocheetah on 1/17/2024 in #✋|help
NGINX proxy to private service
Yes, two separate services.
26 replies
RRailway
Created by discocheetah on 1/17/2024 in #✋|help
NGINX proxy to private service
13786ec6-d2d4-4a9f-a080-033faaee3b5c
26 replies