https://github.com/toggle-corp/simple-proxy
Simple proxy server based on nginx
https://github.com/toggle-corp/simple-proxy
Last synced: 3 months ago
JSON representation
Simple proxy server based on nginx
- Host: GitHub
- URL: https://github.com/toggle-corp/simple-proxy
- Owner: toggle-corp
- Created: 2021-07-30T04:57:08.000Z (almost 5 years ago)
- Default Branch: develop
- Last Pushed: 2025-11-17T11:01:12.000Z (7 months ago)
- Last Synced: 2025-11-17T13:05:56.434Z (7 months ago)
- Size: 8.79 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Proxy
A simple proxy server using Caddy.
## Usage
We will use `idmc` as the example project name.
Our project will needs these files:
```bash
├── config
│ └── caddy
│ └── projects
│ └── idmc.caddy
└── compose
└── idmc.yml
```
**config/caddy/projects/idmc.caddy**
```caddy
import /etc/caddy/snippets/proxy.caddy
http://localhost:8001 {
import reverse_proxy helix-tools-api-staging.idmcdb.org
}
```
**compose/idmc.yml**
```yaml
services:
caddy:
environment:
PROJECT_NAME: idmc
ports:
- 8001:8001
```
To start the proxy server, run:
```bash
docker compose -f docker-compose.yml -f compose/idmc.yml up
```