# Proxy during discourse bootstrap

**URL:** <https://meta.discourse.org/t/proxy-during-discourse-bootstrap/88880>\
**Category:** Self-hosting\
**Created:** [May 31, 2018, 10:59pm UTC](https://meta.discourse.org/t/proxy-during-discourse-bootstrap/88880 "2018-05-31T22:59:31Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![sudoman](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@sudoman](https://meta.discourse.org/u/sudoman)\
**Post date:** [May 31, 2018, 10:59pm UTC](https://meta.discourse.org/t/proxy-during-discourse-bootstrap/88880/1 "2018-05-31T22:59:31Z")

</div>

Hello,

I was trying to bootstrap while relying on an outbound http proxy, but the bootstrapping script didn’t honor the proxy settings. I created the following file to tell docker to use the a proxy:

```plaintext
$ cat /etc/systemd/system/docker.service.d/docker-http-proxy.conf
[Service]
Environment="HTTP_PROXY=http://proxy.example.com:8118" "NO_PROXY=localhost,127.0.0.1"

```

This allowed the first steps in the bootstrapping to succeed, but the bootstrapping failed when it tried to clone pups.git from [github.com](http://github.com). Due to the locally enforced firewall, the connection to [github.com](http://github.com) was refused.

I’m pretty sure that I had the HTTP\_PROXY environment variable and the system-wide git configuration set too.

I’ve since opened up http/s outbound ports, but was hoping that I could bootstrap in a somewhat more restricted environment. Any thoughts about how to encourage the bootstrapping process to use an http proxy?

Thanks,  
Andrew

---

_[View the full topic](https://meta.discourse.org/t/proxy-during-discourse-bootstrap/88880)._
