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 defines the timing where this filter will be applied.
requestHeaderReceivedFromClient This scope occurs the moment fluxzy parsed the request header receiveid from client
serveDirectoryAction
The following table describes the customizable properties available for this action:
Property | Type | Description | DefaultValue |
---|---|---|---|
directory | string | Directory to serve |
The following examples apply this action to any exchanges
Serve a directory.
rules:
- filter:
typeKind: AnyFilter
actions:
- typeKind: ServeDirectoryAction
directory: /path/to/my/static/website
View definition of ServeDirectoryAction for .NET integration.
The following actions are related to this action: