> For the complete documentation index, see [llms.txt](https://docs.elimity.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.elimity.com/reference-manual/v3.44.2/installation/http-s-proxy.md).

# HTTP(S) proxy

We strongly recommend including a production-grade HTTP(S) proxy in each deployment of Elimity Insights. For our SaaS customers we include this by default.

Most cloud providers offer an HTTP(S) proxy (e.g. Google Cloud Load Balancing, Azure Load Balancer) that integrates well with their CaaS / VMaaS products. If using your cloud provider's proxy is not an option, then installing one manually on e.g. Windows Server is also possible. We suggest to take a look at [Caddy](https://caddyserver.com/), a widely-used open-source HTTPS server with excellent proxying capabilities. The remainder of this page contains some additional guidelines for setting up Caddy as an HTTP(S) proxy for Elimity Insights on Windows Server.

## Installing Caddy on Windows Server

To install Caddy as an HTTP(S) proxy for Elimity Insights on Windows Server we recommend to just deploy [their official Docker image](https://hub.docker.com/_/caddy). Refer to the snippet below as a starting point for your `docker-compose.yml` file:

```yaml
services:
  caddy:
    image: caddy
    ports:
      - 80:80
      - 443:443
    restart: always
    volumes:
      - .\caddy:C:\etc\caddy

  insights:
    image: europe-west1-docker.pkg.dev/elimity-general/docker/insights:v3.41.0-nanoserver-ltsc2022
    restart: always
    volumes:
      - .\insights:C:\app\config 
```

Of course you'll also need to configure Caddy. The official documentation includes [a great tutorial about writing `Caddyfile`s](https://caddyserver.com/docs/caddyfile-tutorial), here's a template you can build on (place it at `.\caddy\Caddyfile`):

```
elimity.example.com

reverse_proxy insights

tls cert.pem key.pem
```


---

# 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.elimity.com/reference-manual/v3.44.2/installation/http-s-proxy.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.
