# 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&#x26;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&#x26;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&#x26;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).
