Serve a folder as a static web site. This action is made for mocking purpose and not production ready for a web site.

Evaluation scope

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

requestHeaderReceivedFromClient This scope occurs the moment fluxzy parsed the request header receiveid from client

YAML configuration name



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

Property Type Description DefaultValue
directory string Directory to serve

Example of usage

The following examples apply this action to any exchanges

Serve a directory.

- filter:
    typeKind: AnyFilter
  - typeKind: ServeDirectoryAction
    directory: /path/to/my/static/website

.NET reference

View definition of ServeDirectoryAction for .NET integration.

See also

The following actions are related to this action:

Go back to list