> For the complete documentation index, see [llms.txt](https://docs.jentis.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.jentis.com/key-features/cookie-lifetime-extender/cookie-lifetime-extender-webserver-cdn-configurations/azure-cdn-configuration-guide.md).

# Azure CDN Configuration Guide

### Implementation steps <a href="#steps" id="steps"></a>

#### Step 1: <a href="#step-1" id="step-1"></a>

Go to your website Front Door configuration

***

#### Step 2: <a href="#step-2" id="step-2"></a>

Choose origin groups → Add origin

***

#### Step 3:  <a href="#step-3" id="step-3"></a>

Set any name, uncheck Enable health probes

***

#### Step 4:  <a href="#step-4" id="step-4"></a>

Select Add an origin

<figure><img src="https://2315305008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy15ncufYr341K5U8q6Of%2Fuploads%2Fnr5kaC3ZPNSOQ6cRMC4p%2Fimage.png?alt=media&amp;token=7bc10924-c5de-4928-bba5-eeebdef2c56d" alt=""><figcaption></figcaption></figure>

&#x20;

***

#### Step 5:  <a href="#step-5" id="step-5"></a>

Fill in origin details:

1. Set any name
2. Set Origin type = Custom
3. Set Hostname as following: hash of the JENTIS container as subdomain + . + website domain, e.g. [hash.yourwebsitedomain.com](http://hash.yourwebsitedomain.com/)
4. Press Add<br>

   <figure><img src="https://2315305008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy15ncufYr341K5U8q6Of%2Fuploads%2FXq86r4BwiEdD9wnNUlYZ%2Fimage.png?alt=media&amp;token=c040302a-448b-4412-a7e3-664d419a92e7" alt=""><figcaption></figcaption></figure>

***

#### Step 6:  <a href="#step-6" id="step-6"></a>

Go to Rule Sets → Add Routing Rule:

1. Set name
2. Set Condition: if Request URL Value Contains /hash (hash of the JENTIS container)
3. Set Action: Overwrite origin group = Yes, Origin group you created in the previous step, Forwarding protocol = Match the incoming request, Caching = Disabled
4. Save

<figure><img src="https://2315305008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy15ncufYr341K5U8q6Of%2Fuploads%2F4H85VfOlzvq3EOZvfJCz%2Fimage.png?alt=media&amp;token=a3285732-715b-4dbc-9ef4-7ef3cb31fc31" alt=""><figcaption></figcaption></figure>

***

#### Step 7:  <a href="#step-7" id="step-7"></a>

Go to Front Door configuration panel and choose edit the website route

<figure><img src="https://2315305008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy15ncufYr341K5U8q6Of%2Fuploads%2FtiO50GLnrPXSpqr2LFUZ%2Fimage.png?alt=media&amp;token=76f51b6c-975c-477e-b840-23acbac629a6" alt=""><figcaption></figcaption></figure>

***

#### Step 8:  <a href="#step-8" id="step-8"></a>

Add the rule from the previous step and press Update

{% hint style="danger" %}
After enabling Cookie lifetime extender, the DCP will give a proxy code that is expected to be setup on `https://domain.*/hash` however, if it is set up on `https://www.domain.*/hash` it will cause a CORS Error on the Cookie Lifetime Extender Requests.

For more details on WWW configuration follow this [guide](https://docs.jentis.com/key-features/cookie-lifetime-extender/configure-your-tracking#www-configuration-guide-optional).
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.jentis.com/key-features/cookie-lifetime-extender/cookie-lifetime-extender-webserver-cdn-configurations/azure-cdn-configuration-guide.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
