文档中心 Console Guide Console Guide Back-to-Origin Settings

Back-to-Origin Settings

更新时间:2022-06-28 15:35:41

•Entrance
Product → Configuration → Edit Configuration → Back-to-Origin Settings

•Introduction
With this configuration, there are three functions for Back-to-Origin Settings

  1. Alternate Back-to-Origin : the domain or port will be replaced for those requests goes to origins and Host header of Back-to-Origin Host Header
  2. Protocol Rewrite : Set the request HTTP(S) protocol and back-to-origin HTTP(S) protocol rewrite rules to change HTTP → HTTPS or HTTPS → HTTP
  3. Origin URL rewrite : at default, origin URL path is root directory of origin server, but this function support change Origin Path with URL rewriting rules

1 Alternate Back-to-Origin

•Entrance
Product → Configuration → Edit Configuration → Back-to-Origin Settings → Alternate Back-to-Origin

•Introduction
This function is Alternate Back-to-Origin that change the port (Back-to-Origin Request Port) will be replaced for those requests goes to origins and Host header of Back-to-Origin Host Header

•Guides for operations
The following page is for configurations with many selections on the left menu, ‘Back-to-Origin Settings’ included. Fill the column with port and host header as you want, then click next.

업데이트 공지

in the Confirm Modification page, You need to confirm all of the information that you have change, then choose Pre-deployment or Deploy Now for the next step which will take 3 to 5 minutes.
업데이트 공지

2 Back-to-Origin Protocol Rewrite

•Entrance
Product → Configuration → Edit Configuration → Back-to-Origin Settings → Back-to-Origin Protocol Rewriting

•Introduction
This function is to set the request HTTP(S) protocol and back-to-origin HTTP(S) protocol rewrite rules to change HTTP → HTTPS or HTTPS → HTTP

•Guides for operations
The following page is for configurations with many selections on the left menu, ‘Back-to-Origin Settings’ with ‘Back-to-Origin Protocol Rewrite’ configurations included. A window will pop up when you click add, then click next after all column haven been filled.
업데이트 공지

업데이트 공지

업데이트 공지

You need to confirm all of the information that you have changed, then choose Pre-deployment or Deploy Now for next step which will take 3 to 5 minutes.

3 Back-to-Origin URL Rewrite

•Entrance
Product → Configuration → Edit Configuration → Back-to-Origin Settings → Back-to-Origin URL Rewrite

•Introduction
This function is to change URL path of origin server with URL rewrite pattern.
at default, origin URL path is root directory of origin server, but this function support change Origin Path with URL rewriting rules
if you change origin URL path with your origin URL path rule, you can change origin path with URL rewrite pattern assigned.

•Guides for operations
The following page is for configurations with many selections on the left menu, ‘Back-to-Origin Settings’ included. Fill the column of URL Rewrite Patten as you want, then click next.
업데이트 공지
업데이트 공지

•Examples

Assume that the ‘URL rewrite’ at the ‘Back-to-Origin Settings’ for following snapshot is configured as below
업데이트 공지

When CDN nodes have no caches for requests with URL pattern “.*.(svg$|png$|jpeg$|jpg$|gif$)” they will get objects by going to origins with a URL pattern “/images/v7/test_$1”. Then these objects will be cached on CDN nodes.

本篇文档内容对您是否有帮助?
有帮助
我要反馈
提交成功!非常感谢您的反馈,我们会继续努力做到更好!