> 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/plesk-configuration-guide.md).

# Plesk Configuration Guide

### **Introduction** <a href="#pleskconfigurationguide-introduction" id="pleskconfigurationguide-introduction"></a>

This guide explains how to configure reverse proxy capabilities in your Plesk setup. A reverse proxy acts as an intermediary for client requests, forwarding them to a designated backend server. This setup enhances **load balancing**, **security**, and **caching** capabilities.

***

### **Prerequisites** <a href="#pleskconfigurationguide-prerequisites" id="pleskconfigurationguide-prerequisites"></a>

* Admin Access to your Plesk installation
* Your Website is running on Plesk

***

### **Configuration Steps** <a href="#pleskconfigurationguide-configurationsteps" id="pleskconfigurationguide-configurationsteps"></a>

**Step 1 - Sign in into your plesk setup:**

<figure><img src="https://2315305008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy15ncufYr341K5U8q6Of%2Fuploads%2FWA8nWInfknNRev6ThxxL%2Fimage.png?alt=media&amp;token=4cc8c61f-17ae-4775-918b-8d7c4b169a0a" alt=""><figcaption></figcaption></figure>

#### Step 2 - Configure the directive: <a href="#pleskconfigurationguide-step2-configurethedirective" id="pleskconfigurationguide-step2-configurethedirective"></a>

<figure><img src="https://2315305008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy15ncufYr341K5U8q6Of%2Fuploads%2FStOe9fG6GtAhDhR4lE6i%2Fimage.png?alt=media&amp;token=0029d461-dc40-4613-9c32-6551144f75d5" alt=""><figcaption></figcaption></figure>

\
Under “Additional nginx directives” add the location from /hash(the first part of the tracking URL) and add the proxy\_pass directive to the JENTIS tracking URL

<figure><img src="https://2315305008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy15ncufYr341K5U8q6Of%2Fuploads%2FxHS8tnr1WnqEMx1v1rVq%2Fimage.png?alt=media&amp;token=f58a21fb-bf60-40a4-9613-cac1adbe750e" alt=""><figcaption></figcaption></figure>

#### Step 3: Save and apply <a href="#pleskconfigurationguide-step3-saveandapply" id="pleskconfigurationguide-step3-saveandapply"></a>

After applying the directives, the webserver will restart and activate the new configuration.

***

### **Conclusion** <a href="#pleskconfigurationguide-conclusion" id="pleskconfigurationguide-conclusion"></a>

Your Plesk should now act as a reverse proxy and forward all request to /hash to your tracking domain.

{% 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 %}

***

If you have any questions or feedback, please open a request on our [Helpdesk](https://jentis.atlassian.net/servicedesk/customer/portal/1/group/1/create/220).


---

# 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/plesk-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.
