How jaiswaladi246/proxy-demo-repo works
This is a hands-on reverse-proxy demo: a browser uses the DevOps Shack page to request backend information or health, while a public Nginx proxy forwards requests to the private Express service. The README documents the AWS public/private EC2 and security-group boundary, proxy headers, logging, and basic load-balancing concepts; those deployment elements are not represented by source files in the supplied tree. Runtime links follow the documented proxy flow and sampled browser/server behavior.
Main entry points: server.js Express service · index.html Demo page · app.js Interactive demo · style.css Presentation
Components 15
Browser experience
- Demo page
public/index.html - Interactive demo
public/app.js - Presentation
public/style.css - Proxy learning topics
README.md
Private application
- Express service
server.js - Static assets
public - Info endpoint
server.js - Health endpoint
server.js
Proxy deployment
- Nginx reverse proxy
- Public EC2
- VPC and security groups
- Private EC2
- Nginx access logs
- Basic load balancing
Other components
- Visitor
Connections 17
- Visitor → Demo page: opens
- Demo page → Presentation: loads
- Demo page → Interactive demo: loads
- Interactive demo → Nginx reverse proxy: requests
- Nginx reverse proxy → Public EC2: runs on
- Public EC2 → VPC and security groups: attached to
- VPC and security groups → Private EC2: permits proxy traffic
- Nginx reverse proxy → Express service: forwards HTTP
- Private EC2 → Express service: runs on
- Express service → Static assets: serves
- Express service → Info endpoint: dispatches
- Express service → Health endpoint: dispatches
- Interactive demo → Info endpoint: fetches via proxy
- Interactive demo → Health endpoint: fetches via proxy
- Nginx reverse proxy → Nginx access logs: records requests
- Nginx reverse proxy → Basic load balancing: can provide
- Demo page → Proxy learning topics: illustrates