Reference
Reference: runtime type redirect
tenants[].applications[].routes[].runtime<redirect>.host
| Syntax | host: <string> |
| Default | none |
| Context | tenants[].applications[].routes[].runtime (type: redirect) |
| Reload | applies on reload |
Replaces the request’s host; unset: taken from the request.
tenants[].applications[].routes[].runtime<redirect>.keep_path
| Syntax | keep_path: true | false |
| Default | true |
| Context | tenants[].applications[].routes[].runtime (type: redirect) |
| Reload | applies on reload |
Append the request’s path and query to to.
tenants[].applications[].routes[].runtime<redirect>.path
| Syntax | path: <string> |
| Default | none |
| Context | tenants[].applications[].routes[].runtime (type: redirect) |
| Reload | applies on reload |
Replaces the request’s path; unset: taken from the request.
tenants[].applications[].routes[].runtime<redirect>.port
| Syntax | port: <integer> |
| Default | none |
| Context | tenants[].applications[].routes[].runtime (type: redirect) |
| Reload | applies on reload |
Replaces the request’s port; unset: the well-known port of a configured scheme, else taken from the request.
tenants[].applications[].routes[].runtime<redirect>.prefix
| Syntax | prefix: <string> |
| Default | none |
| Context | tenants[].applications[].routes[].runtime (type: redirect) |
| Reload | applies on reload |
Replaces the matched prefix of the request’s path; unset: taken from the request.
tenants[].applications[].routes[].runtime<redirect>.scheme
| Syntax | scheme: http | https |
| Default | none |
| Context | tenants[].applications[].routes[].runtime (type: redirect) |
| Reload | applies on reload |
Replaces the request’s scheme; unset: taken from the request.
tenants[].applications[].routes[].runtime<redirect>.status
| Syntax | status: <integer> |
| Default | 301 |
| Context | tenants[].applications[].routes[].runtime (type: redirect) |
| Reload | applies on reload |
301, 302, 303, 307 or 308.
tenants[].applications[].routes[].runtime<redirect>.to
| Syntax | to: <string> |
| Default | none |
| Context | tenants[].applications[].routes[].runtime (type: redirect) |
| Reload | applies on reload |
Target origin, e.g. https://example.com: scheme and host (and port), no path when keep_path is on. Alternative to the fields scheme, host, port, path and prefix.
tenants[].applications[].runtime<redirect>.host
| Syntax | host: <string> |
| Default | none |
| Context | tenants[].applications[].runtime (type: redirect) |
| Reload | applies on reload |
Replaces the request’s host; unset: taken from the request.
tenants[].applications[].runtime<redirect>.keep_path
| Syntax | keep_path: true | false |
| Default | true |
| Context | tenants[].applications[].runtime (type: redirect) |
| Reload | applies on reload |
Append the request’s path and query to to.
tenants[].applications[].runtime<redirect>.path
| Syntax | path: <string> |
| Default | none |
| Context | tenants[].applications[].runtime (type: redirect) |
| Reload | applies on reload |
Replaces the request’s path; unset: taken from the request.
tenants[].applications[].runtime<redirect>.port
| Syntax | port: <integer> |
| Default | none |
| Context | tenants[].applications[].runtime (type: redirect) |
| Reload | applies on reload |
Replaces the request’s port; unset: the well-known port of a configured scheme, else taken from the request.
tenants[].applications[].runtime<redirect>.prefix
| Syntax | prefix: <string> |
| Default | none |
| Context | tenants[].applications[].runtime (type: redirect) |
| Reload | applies on reload |
Replaces the matched prefix of the request’s path; unset: taken from the request.
tenants[].applications[].runtime<redirect>.scheme
| Syntax | scheme: http | https |
| Default | none |
| Context | tenants[].applications[].runtime (type: redirect) |
| Reload | applies on reload |
Replaces the request’s scheme; unset: taken from the request.
tenants[].applications[].runtime<redirect>.status
| Syntax | status: <integer> |
| Default | 301 |
| Context | tenants[].applications[].runtime (type: redirect) |
| Reload | applies on reload |
301, 302, 303, 307 or 308.
tenants[].applications[].runtime<redirect>.to
| Syntax | to: <string> |
| Default | none |
| Context | tenants[].applications[].runtime (type: redirect) |
| Reload | applies on reload |
Target origin, e.g. https://example.com: scheme and host (and port), no path when keep_path is on. Alternative to the fields scheme, host, port, path and prefix.