Proxy Rewrite
Last updated
Last updated
Navigate to Sites -> Sites Settings -> Modules -> Proxy Rewrite -> Create Proxy Rewrite
Click Create Proxy Rewrite, and you will be prompted to enter a custom name.
Origin Rewrite Field Descriptions: After creating the configuration set as described above, add the origin rewrite rules with the following fields:
Priority: The priority weight for origin requests; a higher number means higher priority.
URI Path: Refers to the path part of the URL after the hostname (HOST) in the request, which identifies a specific resource, e.g., /images/logo.png.
Origin URI: When a proxy server (like a CDN) forwards a request to the backend origin, it might rewrite the URI path based on requirements. This rewritten path is called the Origin URI.
Origin HOST: This is the target hostname (HOST) that the proxy server sets when forwarding the request to the backend origin. It can be different from the hostname in the original request and can be rewritten to match backend configurations.
Origin HTTP Method: You can select HTTP methods like GET, POST, PUT, etc., for the origin request.