A web server and reverse proxy to serve websites, route traffic, and secure applications.
// Often used in prod
// Does not upload or run code.
<aside> π‘
A typical βdeploymentβ flow usually includes:
<aside> π‘
Nginx is free and widely used under the hood in many cloud setups. On a VPS or local server, you configure it directly.
</aside>
π Internet
- DNS route to public IP on VPS, reach into nginx first)
β
π Nginx (Reverse Proxy)
- Single public entry point
- Add security, SSL, routing, caching
- Horizontal scaling (load balance to instances)
β
βοΈ Backend (Node.js / Java / Python)
β
ποΈ Database (MySQL / MongoDB)