Changing the proxy settings of page rules - ArvanCloud

ArvanCloud Blog

Read more about ArvanCloud news,
updates, products and services in ArvanCloud weblog.

Changing the proxy settings of page rules

5 Nov 2019

You can use proxy settings to add or remove some headers to the requests. In order to do this, go to Content Delivery Network (CDN). On the page rules panel, click on the edit icon in front of the rule that you want to modify.

In the opened window, go to proxy settings tab.

Header settings

Host header: Normally, each request that reaches the CDN edge servers of ArvanCloud, is sent to host server in the exact same form. But in some special cases, a request that reaches the ArvanCloud edge servers needs to be modified (for example it must switch into another domain), and then be sent to the host server. In such cases, one can set a Host Header for the request to do this.
User Response Headers: using this setting, one can add an arbitrary Response Header to the Response Headers of user.
Origin Response Headers: using this setting, one can add an arbitrary Response Header such as xff or x-real-ip, to the Response Headers meant for the main host server.

Ignoring the user Headers: Using this setting, one can specify some of the user headers to be removed. For example, in the requests sent to IOS systems, the Upgrade header must be ignored. In order to do this, enter the name of the header that you want to be removed in the Ignored Headers box.

Note: If you need to add more headers to any of the above sections, you can use the plus icon to add more boxes, and enter new headers.

 

دیدگاه شما