A lightweight reverse proxy server built with Node.js and Express, designed for easy deployment on Vercel.
- Express.js based reverse proxy
- Request logging with timestamp
- SSL bypass capability
- IP-based routing
- Vercel deployment ready
- Clean and maintainable codebase
npm installStart the server locally:
node Server.jsThe server will run on port 3000 by default.
-
Home Route
- Path: /
- Method: GET
- Response: Welcome message
-
Cache Proxy Route
- Path: /:ip/cache/*
- Method: GET
- Parameters:
- ip : Target IP address
- cache/* : Cache path
Deploy to Vercel:
vercelor click this button
simple-reverse-proxy/
├── MainApp.js # Main application setup
├── Server.js # Local development server
├── middleware/
│ └── RequestLogger.js # Request logging middleware
├── routes/
│ ├── CacheProxy.js # Proxy route handler
│ └── IndexRoute.js # Index route handler
└── vercel.json # Vercel deployment configuration
No environment variables are required for basic setup.
- express: ^4.21.2
- node-fetch: ^2.7.0
MIT License - See LICENSE file for details.
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a new Pull Request
GrowPlus Community
For issues and feature requests, please use the GitHub issues page .