Skip to content

Commit 7a951a5

Browse files
committed
Update README.md to include ALLOWED_HOSTS environment variable usage.
1 parent 5e94537 commit 7a951a5

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,10 @@ You can customize the Tinyproxy configuration by mounting a custom `tinyproxy.co
2929

3030
```sh
3131
docker run -d -p 8888:8888 -v /path/to/your/tinyproxy.conf:/etc/tinyproxy/tinyproxy.conf ghcr.io/querateam/docker-tinyproxy:latest
32-
```
32+
```
33+
34+
You can also restrict proxy access to specific hosts by setting the `ALLOWED_HOSTS` environment variable (comma-separated list):
35+
36+
```sh
37+
docker run -d -p 8888:8888 -e ALLOWED_HOSTS="example.com,another.com" ghcr.io/querateam/docker-tinyproxy:latest
38+
```

0 commit comments

Comments
 (0)