how to set proxypass in nginx?
surfeatcoderepeat
FREEOP

a year ago

im trying to deploy a webapp with a django backend, a postgreSQL database and nginx servig frontend and acting as a inverse proxy. The frontend service crash when i try to reference proxypass target to backend internal url. just dont know how to use service variables in my code.

Solved

1 Replies

a year ago

Hello,

I cannot recommend you use a reverse proxy here, it's a massive overcomplication for such a simple usecase.

Instead, just have your frontend directly call the backend's public domain.


Status changed to Awaiting User Response Railway about 1 year ago


Railway
BOT

7 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 7 months ago


Loading...