---
title: "Document Engine: Setting up an HTTP/HTTPS proxy"
canonical_url: "https://www.nutrient.io/guides/document-engine/troubleshooting/getting-started/proxy/"
md_url: "https://www.nutrient.io/guides/document-engine/troubleshooting/getting-started/proxy.md"
last_updated: "2026-06-19T07:57:11.384Z"
description: "Learn how to configure an HTTP/HTTPS proxy in Docker for Linux systems using the config.json file. Follow our easy steps for seamless integration."
---

# Setting Up an HTTP/HTTPS Proxy

To set up an HTTP/HTTPS proxy in Docker 17.07 and higher for Linux, create or edit the `~/.docker/config.json` file in the home directory of the user that starts containers:

```json

 "proxies":
 {
   "default":
   {
     "httpProxy": "http://127.0.0.1:3001",
     "httpsProxy": "http://127.0.0.1:3001",
     "noProxy": "*.test.example.com,.example2.com"
   }
 }
}

```

Review [the official Docker docs for more details and solutions for older Docker versions](https://docs.docker.com/network/proxy/#use-environment-variables).

According to the Docker docs, “many Linux distributions use systemd to start the Docker daemon.” To set up a proxy for Docker via systemd, [refer to the following example](https://docs.docker.com/config/daemon/systemd/).
---

## Related pages

- [HTTPS Support](/guides/document-engine/troubleshooting/getting-started/https.md)
- [Setting up auto scaling](/guides/document-engine/troubleshooting/getting-started/auto-scaling.md)

