Rewrite option is useful for changing or redirecting query paths. The option works accordingly to nginx configuration. To enable Rewrite click Add Option in “Content” section and choose Enable Rewrite. You also can set up Rewrite in the Rules section. After the option activation, some default values are shown in Rewrite body field. Clear the field and enter two space-separated directives: a path the Rewrite option is applied to and a path to be used instead. Use regular expressions.Documentation Index
Fetch the complete documentation index at: https://gcore.com/docs/llms.txt
Use this file to discover all available pages before exploring further.

/(.): is the group of variables for which one Rewrite is applied. With this (.) group Rewrite; will be applied for all of the possible variants which can appear after / in example.com/;/media/: is the directory, where CDN servers will go for the content;$1: is the number of the group of variables. If you have more than one group, the next numbers will be 3 and so on.