When you add a website domain configuration in Web Application Firewall for protection, you can set the flow mark for the website domain. When the traffic of the website domain passes through WAF, WAF adds the specified flow mark to the requests. Thus, the origin server can easily collect corresponding information.
- Log on to the Alibaba Cloud WAF console.
- On the top of the page, select the region: Mainland China, International.
- Go to the Edit.
Note You can also specify flow mark when adding a new website domain configuration record.
page, choose a domain configuration record, and click
- In the Flow Mark configuration item, enter the Header field name and the field value.
Note Do not specify a user-defined HTTP Header field that has already been used. Otherwise, the value of this field in the request is overwritten by the flow mark field value by WAF.
- Click OK. After the configuration takes effect, WAF adds the specified HTTP header fields and values when forwarding requests to the website domain.