HTTP/S Traffic
{{ if .UpdateTraffic }}Update or reset the HTTP traffic, security and routing rules.
{{ else }}Create a new HTTP traffic rule. Setup upstream server values, encryption options and any additional security mechanisms.
{{ end }}{{ define "admin-tunnel-edit-http-rule" }} {{ template "nav-sidebar" . }}
Update or reset the HTTP traffic, security and routing rules.
{{ else }}Create a new HTTP traffic rule. Setup upstream server values, encryption options and any additional security mechanisms.
{{ end }}Reset an existing traffic rule or update the destination for traffic.
Allow or restrict traffic to this TCP application using CIDR notation to
identify the IPv4 or IPv6 networks. Some example networks can be the following:
1.2.3.4/16 for IP4 or 2345:0425:2CA1:0000::0000/64 for IPv6.
Note, rules must use proper sequence numbers that begin with 1, e.g. 1, 2, 3.
| Sequence | Action | Network | |
|---|---|---|---|
No firewall rules for this traffic rule. |
|||
|
|
|||
|
|
|||
No firewall rules for this TCP application. |
|||
Optionally inject additional HTTP headers into proxied traffic. Request headers are added to every request before it is forwarded to the upstream (useful for API keys or tracing). Response headers are added to the response returned to the client (useful for CORS such as Access-Control-Allow-Origin, caching directives, or security headers).
| Header Name | Value | |
|---|---|---|
No custom request headers. |
||
| Header Name | Value | |
|---|---|---|
No custom response headers. |
||
No custom request headers. |
||
No custom response headers. |
||
Optionally route requests to different upstreams or local file systems by URL path prefix. Routes are matched longest-prefix first (so /api/v1 wins over /api). A request that matches no route falls back to the base upstream configured above. Each route targets either an Upstream URL (http(s)://host:port) or a local WebRoot, not both. The catch-all prefix / matches everything that no more specific route already matched.
| Prefix | Upstream URL | WebRoot | Strip Prefix | Insecure TLS | |
|---|---|---|---|---|---|
No URL path routes. |
|||||
No URL path routes. |
|||||