> For the complete documentation index, see [llms.txt](https://docs.akamas.io/akamas-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.akamas.io/akamas-docs/3.2.1-1/installing-akamas/install-the-akamas-cli/use-a-proxy-server.md).

# Use a proxy server

The Akamas CLI supports interacting with the API server through an HTTP/HTTPS proxy server.

To enable access via an HTTP proxy, set the environment variable `HTTP_PROXY`. From the following snippet, replace `proxy_ip` and `proxy_port` with the desired values.

```bash
export HTTP_PROXY="http://<proxy_ip>:<proxy_port>"
```

Then, run an `akamas` command to verify access.

```bash
akamas status --debug
```

Access through an HTTPS proxy can be set by using environment variable `HTTPS_PROXY`, instead of `HTTP_PROXY`.


---

# 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:

```
GET https://docs.akamas.io/akamas-docs/3.2.1-1/installing-akamas/install-the-akamas-cli/use-a-proxy-server.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
