How can I add my Helpdesk behind a reverse proxy?Reverse proxy usecaseSolution 1: Host the helpdesk on a subdomainSolution 2: Host the helpdesk on a subfolder
Articles on: Crisp Helpdesk
This article shows how to use Crisp Helpdesk behind a custom page like
or on a specific subfolder like
mywebsite.com/help
.
This article covers how to use a reverse proxy for your Crisp Helpdesk. A reverse proxy can be used in multiple use cases:
- Using Crisp Helpdesk under a custom domain
- Using Crisp Helpdesk on a custom IP or custom server
- Using Crisp Helpdesk in countries where Crisp is unavailable because blocked by Governments (ie. Russia, China)
The solution is to use a reverse proxy. The following example shows how to use a Nginx Reverse proxy. The same solution could be achieved by using Apache, or HAProxy.
undefined location / { proxy_pass https://MY_CRISP_HELPDESK.crisp.help; proxy_http_version 1.1; proxy_intercept_errors on; proxy_ssl_server_name on; }
undefined location /MY_SUBFOLDER/ { proxy_pass https://MY_CRISP_HELPDESK.crisp.help/en/; proxy_http_version 1.1; proxy_ssl_server_name on; proxy_set_header Accept-Encoding ""; proxy_set_header Access-Control-Allow-Origin "*"; sub_filter 'action="https://MY_CRISP_HELPDESK.crisp.help/en/' 'action="/MY_SUBFOLDER/'; sub_filter 'href="/en/' 'href="/MY_SUBFOLDER/'; sub_filter 'action="/en/' 'action="/MY_SUBFOLDER/'; sub_filter_once off; }
Updated on: 11/03/2024
Updated on: 19/07/2024
Thank you!