> 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="/files/t5a1fZ1DTZVThIL64JON" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/ovoAY9i14szEqwKFHs9C" 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="/files/ObKR2G0nyjRLXUTTyBTe" 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
