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
+9-10Lines changed: 9 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ buildcage solves this by restricting outbound network access during builds to on
22
22
23
23
buildcage runs as a [remote driver](https://docs.docker.com/build/builders/drivers/remote/) for Docker Buildx. All `RUN` step containers are placed on an isolated network, and outbound traffic is routed through a proxy that enforces your allowlist.
| `allowed_http_domains` | No | empty | Allowed HTTP domains (comma-separated, without port). See [Domain matching patterns](#domain-matching-patterns) below |
207
-
| `allowed_https_domains` | No | empty | Allowed HTTPS domains (comma-separated, without port). See [Domain matching patterns](#domain-matching-patterns) below |
206
+
| `allowed_http_domains` | No | empty | Allowed HTTP domains (comma-separated, without port) |
207
+
| `allowed_https_domains` | No | empty | Allowed HTTPS domains (comma-separated, without port) |
208
208
| `http_ports` | No | `80` | Comma-separated HTTP listen ports for the proxy |
209
209
| `https_ports` | No | `443` | Comma-separated HTTPS listen ports for the proxy |
210
210
| `port` | No | `1234` | BuildKit endpoint port on localhost |
211
211
212
-
##### Domain matching patterns
212
+
**Domain matching patterns**
213
213
214
-
Domain values use nginx's [`map`](https://nginx.org/en/docs/http/ngx_http_map_module.html) directive with the `hostnames` parameter, supporting several patterns:
214
+
The following patterns are supported for domain values:
215
215
216
216
| Pattern | Example | Matches |
217
217
|---------|---------|---------|
218
-
| Exact domain | `registry.npmjs.org` | Only `registry.npmjs.org` |
218
+
| Exact domain | `www.example.com` | Only `www.example.com` |
0 commit comments