The http filter is used to forward requests to a specified HTTP server as a proxy.
Configuration Example #
A simple example is as follows:
flow: - name: default_flow filter: - basic_auth: valid_users: medcl: passwd - http: schema: "http" #https or http #host: "192.168.3.98:5601" hosts: - "192.168.3.98:5601" - "192.168.3.98:5602"
Parameter Description #
|timeout_in_second||int||Request timeout duration, in seconds. The default value is |
|host||string||Target host address containing the port ID, for example, |
|hosts||array||Host address list. The addresses are tried in sequence after a fault occurs.|