forwardAction

Description

Forward request to a specific URL. This action makes fluxzy act as a reverse proxy. Unlike SpoofDnsAction, host header is automatically set and protocol switch is supported (http to https, http/1.1 to h2, ...). The URL must be an absolute path.

Evaluation scope

Evaluation scope defines the timing where this filter will be applied.

responseHeaderReceivedFromRemote This scope occurs the moment fluxzy has done parsing the response header.

YAML configuration name

forwardAction

Settings

The following table describes the customizable properties available for this action:

Property Type Description DefaultValue
url string

Example of usage

The following examples apply this action to any exchanges

Forward any request to https://www.example.com.

rules:
- filter:
    typeKind: AnyFilter
  actions:
  - typeKind: ForwardAction
    url: https://www.example.com

.NET reference

View definition of ForwardAction for .NET integration.

See also

The following actions are related to this action:


Go back to list