You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+47Lines changed: 47 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,50 @@ A secure HTTP/HTTPS proxy server in Go with Basic authentication, TLS support, a
28
28
29
29
Download the latest binary from the [Releases](https://github.com/hightemp/https_proxy/releases) page.
30
30
31
+
### Docker
32
+
33
+
One-liner (HTTP proxy on port 8080, default user/pass `user`/`pass`):
34
+
35
+
```sh
36
+
docker run -d --name https_proxy -p 8080:8080 hightemp/https_proxy:latest
37
+
```
38
+
39
+
With a custom config:
40
+
41
+
```sh
42
+
docker run -d --name https_proxy -p 8080:8080 -v $(pwd)/config.yaml:/etc/https_proxy/config.yaml:ro hightemp/https_proxy:latest
43
+
```
44
+
45
+
### Docker Compose (HTTP + HTTPS with Let's Encrypt)
46
+
47
+
The bundled [docker-compose.yml](docker-compose.yml) starts an HTTP proxy, an HTTPS proxy, and a `certbot` sidecar that issues and auto-renews Let's Encrypt certificates into a shared volume.
48
+
49
+
1. Copy example configs and edit them (set domain, credentials, ports):
50
+
51
+
```sh
52
+
cp config.http.example.yaml config.http.yaml
53
+
cp config.https.example.yaml config.https.yaml
54
+
```
55
+
56
+
2. Issue the initial Let's Encrypt certificate (port 80 must be reachable on your domain):
57
+
58
+
```sh
59
+
docker compose run --rm --service-ports certbot certonly \
0 commit comments