Template for configure Django (DRF) site with NGINX
something
FREEOP
10 months ago
I am trying to deploy my DRF API site to railway with NGINX but unable to find any tutorial for this so Is it possible to deploy with NGINX? I am already serving site's media and staticfiles through AWS S3 and I want to install through NGINX for load balancing for my site's APIs.
2 Replies
sim
FREE
9 months ago
Yes, you can use NGINX with your DRF API, but Railway probably does not direct install for it
Railway has some templates for this https://railway.com/deploy?q=nginx
sim
FREE
9 months ago
Where you have S3 you add an NGINX and forward traffic to Railway, your media and static files are already there