mirror of
https://github.com/mimamch/reverse-proxy.git
synced 2026-04-25 00:25:50 +03:00
No description
- Go 92.5%
- TypeScript 4.8%
- Dockerfile 2.4%
- Makefile 0.3%
| .github/workflows | ||
| cmd/main | ||
| internal | ||
| k6 | ||
| pkg/database | ||
| prisma | ||
| .dockerignore | ||
| .env.example | ||
| .gitignore | ||
| docker-compose.yaml | ||
| Dockerfile | ||
| go.mod | ||
| go.sum | ||
| Makefile | ||
| package.json | ||
| pnpm-lock.yaml | ||
| prisma.config.ts | ||
| readme.md | ||
Reverse Proxy
A reverse proxy implementation for routing and load balancing HTTP requests.
Features
- Request routing
- Load balancing: Round Robin
- SSL termination
- SSL Generation using Let's Encrypt
- Zero downtime reloads
Installation
- Ensure you have Docker and Docker Compose installed on your system.
- Create a
docker-compose.ymlfile with the following content:
services:
reverse-proxy:
container_name: reverse-proxy
image: ghcr.io/mimamch/reverse-proxy:latest
restart: unless-stopped
ports:
- "80:80"
- "443:443"
environment:
- DATABASE_URL=postgres://user:password@db:5432/reverse-proxy
- EMAIL=youremail@mail.com
- Run the following command to start the reverse proxy:
docker-compose up -d
TODO:
- Make GUI for easier management of routes and settings.