odysseus
Railway PSQL with VPN on
I generally keep a VPN on, and it seems that it never works for connecting to my Postgres database.
Neither
railway connect postgres
nor the psql command PGPASSWORD=xxyy psql -h viaduct.proxy.rlwy.net -U postgres -p 1111 -d railway
get anything back with VPN on. With VPN off it works fine. Not sure if this is an engineering decision.
However, it would make my life a lot easier if I didn't need to switch networks just to see my db. Is there a way to do it?12 replies
Cloudflare and Vercel SSL
Encountering some issues going from a Vercel frotnend that is not seeing the SSL certs or somethign is going wrong on a latest prod deployment. My apex redirects to www.mysite.com (Vercel has a little module to set up a redirect) and on railway I have api.mysite.com as a backend.
I am trying to read this doc that is a bit tricky (lot of double negatives, etc.) I don't believe im wildcatting, so is it ok to have proxies enabled on Cloudflare?
https://docs.railway.app/deploy/exposing-your-app
what should my setup be? It seems like Vercel tries to make certificates, as does CloudFlare. I'm kinda new at this so if anyone has a strategy here, would appreciate it!
Should I be un-proxied/DNS only in my CNAME to vercel? And everything from Vercel over to railway (api.mysite...) is proxied?
thanks.
9 replies